Updated webpack so dist folder now lives at project root.
This commit is contained in:
		| @@ -17,10 +17,9 @@ const environment = isProd | |||||||
| const webpackConfig = merge(commonConfig(false), { | const webpackConfig = merge(commonConfig(false), { | ||||||
|   mode: "production", |   mode: "production", | ||||||
|   output: { |   output: { | ||||||
|     path: helpers.root("public/dist"), |     path: helpers.root("dist"), | ||||||
|     publicPath: "/dist/", |     publicPath: "/dist/", | ||||||
|     filename: "js/[name].bundle.[hash:7].js" |     filename: "js/[name].bundle.[hash:7].js" | ||||||
|     //filename: "js/[name].bundle.js" |  | ||||||
|   }, |   }, | ||||||
|   optimization: { |   optimization: { | ||||||
|     splitChunks: { |     splitChunks: { | ||||||
| @@ -51,7 +50,6 @@ const webpackConfig = merge(commonConfig(false), { | |||||||
|     new webpack.EnvironmentPlugin(environment), |     new webpack.EnvironmentPlugin(environment), | ||||||
|     new MiniCSSExtractPlugin({ |     new MiniCSSExtractPlugin({ | ||||||
|       filename: "css/[name].[hash:7].css" |       filename: "css/[name].[hash:7].css" | ||||||
|       //filename: "css/[name].css" |  | ||||||
|     }) |     }) | ||||||
|   ] |   ] | ||||||
| }); | }); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user