Moved entry and HtmlWebpackPlugin from Vinlottis.config to webpack.common and webpack.prod. Removed Vinlottis.config.

This commit is contained in:
2020-11-24 23:54:43 +01:00
parent 055d13af35
commit ccc72997c0
4 changed files with 4 additions and 34 deletions

View File

@@ -15,7 +15,10 @@ const webpackConfig = function(isDev) {
"@": helpers.root("src")
}
},
externals: {
entry: {
vinlottis: helpers.root("src", "vinlottis-init")
},
externals: {
moment: 'moment' // comes with chart.js
},
module: {