mirror of
https://github.com/KevinMidboe/planetposen.git
synced 2025-10-29 09:40:31 +00:00
Updated webpack dev config.
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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"
|
||||
})
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user