From cc0bef927f1fa10a9c7da2f85c3958eacf16cac6 Mon Sep 17 00:00:00 2001 From: KevinMidboe Date: Fri, 20 Nov 2020 21:22:53 +0100 Subject: [PATCH] Single template & analytics.js script reference. --- config/vinlottis.config.js | 2 +- config/webpack.config.dev.js | 3 +- src/templates/Create.html | 72 ----------------------------------- src/templates/Index.html | 74 +++++++++++++++++++++++++++++++++++- 4 files changed, 75 insertions(+), 76 deletions(-) delete mode 100644 src/templates/Create.html diff --git a/config/vinlottis.config.js b/config/vinlottis.config.js index 1f62ca7..2af4fa9 100644 --- a/config/vinlottis.config.js +++ b/config/vinlottis.config.js @@ -12,7 +12,7 @@ const VinlottisConfig = { new HtmlWebpackPlugin({ chunks: ["vinlottis"], filename: "index.html", - template: "./src/templates/Create.html", + template: "./src/templates/Index.html", inject: true, minify: { removeComments: true, diff --git a/config/webpack.config.dev.js b/config/webpack.config.dev.js index 4b7358c..562469e 100644 --- a/config/webpack.config.dev.js +++ b/config/webpack.config.dev.js @@ -45,8 +45,7 @@ webpackConfig = merge(webpackConfig, { }, plugins: [ new HtmlPlugin({ - template: "src/templates/Create.html", - chunksSortMode: "dependency" + template: "src/templates/Index.html" }) ] }); diff --git a/src/templates/Create.html b/src/templates/Create.html deleted file mode 100644 index 2a3fdc0..0000000 --- a/src/templates/Create.html +++ /dev/null @@ -1,72 +0,0 @@ - - - - - Vinlottis - - - - - - - - - - - - - - - - - -
- - - - - - diff --git a/src/templates/Index.html b/src/templates/Index.html index 6c217c6..857f0e5 100644 --- a/src/templates/Index.html +++ b/src/templates/Index.html @@ -1 +1,73 @@ -
+ + + + + Vinlottis + + + + + + + + + + + + + + + + + +
+ + + + + + +