Fix file naming in manifest.json

[MAILPOET-3214]
This commit is contained in:
Rostislav Wolny
2021-09-09 14:19:54 +02:00
committed by Veljko V
parent 83ed5d9364
commit 5788e0fbe2

View File

@@ -31,6 +31,7 @@ const baseConfig = {
],
},
output: {
publicPath: '', // This is needed to have correct names in WebpackManifestPlugin
path: path.join(__dirname, 'assets/dist/js'),
filename: (PRODUCTION_ENV) ? '[name].[hash:8].js' : '[name].js',
chunkFilename: (PRODUCTION_ENV) ? '[name].[hash:8].chunk.js' : '[name].chunk.js',