From bb8fed94eb2c44040031643e8c20ff72de759535 Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Tue, 18 Jul 2023 09:54:35 -0700 Subject: [PATCH] Fix chunk IDs and source map file names --- frontend/build/webpack.config.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/build/webpack.config.js b/frontend/build/webpack.config.js index dc2a575a8..733e2bc4d 100644 --- a/frontend/build/webpack.config.js +++ b/frontend/build/webpack.config.js @@ -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: {