Fix chunk IDs and source map file names

pull/5821/head
Mark McDowall 2 years ago
parent 87021fff43
commit bb8fed94eb

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

Loading…
Cancel
Save