mirror of
				https://github.com/KevinMidboe/planetposen.git
				synced 2025-10-29 17:50:32 +00:00 
			
		
		
		
	Updated webpack dev config.
This commit is contained in:
		| @@ -3,7 +3,7 @@ | |||||||
| const HtmlWebpackPlugin = require("html-webpack-plugin"); | const HtmlWebpackPlugin = require("html-webpack-plugin"); | ||||||
| const helpers = require("./helpers"); | const helpers = require("./helpers"); | ||||||
|  |  | ||||||
| const VinlottisConfig = { | const PlanetposenConfig = { | ||||||
|   entry: { |   entry: { | ||||||
|     planetposen: ["@babel/polyfill", helpers.root("frontend", "main")] |     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, { | webpackConfig = merge(webpackConfig, { | ||||||
|   entry: { |   entry: { | ||||||
|     main: ["@babel/polyfill", helpers.root("src", "vinlottis-init")] |     main: ["@babel/polyfill", helpers.root("frontend", "main")] | ||||||
|   }, |   }, | ||||||
|   plugins: [ |   plugins: [ | ||||||
|     new HtmlPlugin({ |     new HtmlPlugin({ | ||||||
|       template: "src/templates/Index.html", |       template: "frontend/index.html", | ||||||
|       chunksSortMode: "dependency" |       chunksSortMode: "dependency" | ||||||
|     }) |     }) | ||||||
|   ] |   ] | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user