diff --git a/config/planetposen.config.js b/config/planetposen.config.js index 30c9608..d42bbf4 100644 --- a/config/planetposen.config.js +++ b/config/planetposen.config.js @@ -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; diff --git a/config/webpack.config.dev.js b/config/webpack.config.dev.js index 6922179..73c854e 100644 --- a/config/webpack.config.dev.js +++ b/config/webpack.config.dev.js @@ -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" }) ]