From 997915b9ddae41d1c5ece2f31fd9d3b79223db9d Mon Sep 17 00:00:00 2001 From: Sander Hautvast Date: Fri, 5 Mar 2021 11:51:15 +0100 Subject: [PATCH] added css load --- index.html => src/index.html | 2 -- src/js/index.js | 1 + webpack.config.js | 1 + 3 files changed, 2 insertions(+), 2 deletions(-) rename index.html => src/index.html (80%) diff --git a/index.html b/src/index.html similarity index 80% rename from index.html rename to src/index.html index 20859ed..45995ca 100644 --- a/index.html +++ b/src/index.html @@ -3,7 +3,6 @@ MatRepl - https://github.com/shautvast/matrepl @@ -15,6 +14,5 @@ - \ No newline at end of file diff --git a/src/js/index.js b/src/js/index.js index e1bd056..f975121 100644 --- a/src/js/index.js +++ b/src/js/index.js @@ -1,3 +1,4 @@ +import '../css/app.css'; import {scan, token_types} from './scanner'; import {parse} from './parser'; import { diff --git a/webpack.config.js b/webpack.config.js index 5b2705e..738094f 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -44,6 +44,7 @@ module.exports = { plugins: [ new HtmlWebpackPlugin({ hash: true, + template: './src/index.html', filename: 'index.html' }) ]