Fix file naming in manifest.json
[MAILPOET-3214]
This commit is contained in:
committed by
Veljko V
parent
83ed5d9364
commit
5788e0fbe2
@@ -31,6 +31,7 @@ const baseConfig = {
|
|||||||
],
|
],
|
||||||
},
|
},
|
||||||
output: {
|
output: {
|
||||||
|
publicPath: '', // This is needed to have correct names in WebpackManifestPlugin
|
||||||
path: path.join(__dirname, 'assets/dist/js'),
|
path: path.join(__dirname, 'assets/dist/js'),
|
||||||
filename: (PRODUCTION_ENV) ? '[name].[hash:8].js' : '[name].js',
|
filename: (PRODUCTION_ENV) ? '[name].[hash:8].js' : '[name].js',
|
||||||
chunkFilename: (PRODUCTION_ENV) ? '[name].[hash:8].chunk.js' : '[name].chunk.js',
|
chunkFilename: (PRODUCTION_ENV) ? '[name].[hash:8].chunk.js' : '[name].chunk.js',
|
||||||
|
Reference in New Issue
Block a user