Updated webpack dev config.

This commit is contained in:
2020-07-19 16:14:58 +02:00
parent 5564975dbf
commit fb5365048c
2 changed files with 4 additions and 4 deletions

View File

@@ -41,11 +41,11 @@ let webpackConfig = merge(commonConfig(true), {
webpackConfig = merge(webpackConfig, {
entry: {
main: ["@babel/polyfill", helpers.root("src", "vinlottis-init")]
main: ["@babel/polyfill", helpers.root("frontend", "main")]
},
plugins: [
new HtmlPlugin({
template: "src/templates/Index.html",
template: "frontend/index.html",
chunksSortMode: "dependency"
})
]