Fix chunk IDs and source map file names

pull/5821/head
Mark McDowall 1 year ago
parent 87021fff43
commit bb8fed94eb

@ -67,13 +67,13 @@ module.exports = (env) => {
output: {
path: distFolder,
publicPath: '/',
filename: '[name].[contenthash].js',
sourceMapFilename: '[file]-[contenthash].map'
filename: '[name]-[contenthash].js',
sourceMapFilename: '[file].map'
},
optimization: {
moduleIds: 'deterministic',
chunkIds: 'named'
chunkIds: isProduction ? 'deterministic' : 'named'
},
performance: {

Loading…
Cancel
Save