added css load

This commit is contained in:
Sander Hautvast 2021-03-05 11:51:15 +01:00
parent 948c0bc50f
commit 997915b9dd
3 changed files with 2 additions and 2 deletions

View file

@ -3,7 +3,6 @@
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<title>MatRepl</title> <title>MatRepl</title>
<link rel="stylesheet" href="src/css/app.css">
</head> </head>
<body> <body>
<a class="right" href="https://github.com/shautvast/matrepl" target="_blank">https://github.com/shautvast/matrepl</a> <a class="right" href="https://github.com/shautvast/matrepl" target="_blank">https://github.com/shautvast/matrepl</a>
@ -15,6 +14,5 @@
<textarea id="command_input" class="single_line" autofocus></textarea> <textarea id="command_input" class="single_line" autofocus></textarea>
</label> </label>
</div> </div>
<script type="application/ecmascript" src="bundle.js"></script>
</body> </body>
</html> </html>

View file

@ -1,3 +1,4 @@
import '../css/app.css';
import {scan, token_types} from './scanner'; import {scan, token_types} from './scanner';
import {parse} from './parser'; import {parse} from './parser';
import { import {

View file

@ -44,6 +44,7 @@ module.exports = {
plugins: [ plugins: [
new HtmlWebpackPlugin({ new HtmlWebpackPlugin({
hash: true, hash: true,
template: './src/index.html',
filename: 'index.html' filename: 'index.html'
}) })
] ]