From fb5365048ceab8eeea2b896a6dbcd0b69d0ac848 Mon Sep 17 00:00:00 2001 From: KevinMidboe Date: Sun, 19 Jul 2020 16:14:58 +0200 Subject: [PATCH] Updated webpack dev config. --- config/planetposen.config.js | 4 ++-- config/webpack.config.dev.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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" }) ]