Single template & analytics.js script reference.

This commit is contained in:
2020-11-20 21:22:53 +01:00
parent 594c4cc482
commit cc0bef927f
4 changed files with 75 additions and 76 deletions

View File

@@ -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,

View File

@@ -45,8 +45,7 @@ webpackConfig = merge(webpackConfig, {
},
plugins: [
new HtmlPlugin({
template: "src/templates/Create.html",
chunksSortMode: "dependency"
template: "src/templates/Index.html"
})
]
});