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

@@ -3,7 +3,7 @@
const HtmlWebpackPlugin = require("html-webpack-plugin");
const helpers = require("./helpers");
const VinlottisConfig = {
const PlanetposenConfig = {
entry: {
planetposen: ["@babel/polyfill", helpers.root("frontend", "main")]
},
@@ -25,4 +25,4 @@ const VinlottisConfig = {
}
};
module.exports = VinlottisConfig;
module.exports = PlanetposenConfig;

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"
})
]