diff --git a/src/frontend/webpack.config.js b/src/frontend/webpack.config.js index a3af322821..ca852d86a4 100644 --- a/src/frontend/webpack.config.js +++ b/src/frontend/webpack.config.js @@ -99,7 +99,16 @@ module.exports = (env) => { }, }, // All output '.js' files will have any sourcemaps re-processed by 'source-map-loader'. - { enforce: 'pre', test: /\.js$/, loader: 'source-map-loader' }, + { + enforce: 'pre', + test: /\.js$/, + loader: 'source-map-loader', + options: { + filterSourceMappingUrl: (url, resourcePath) => { + return !/@formatjs\/fast-memoize/i.test(resourcePath); + }, + }, + }, ], },