diff --git a/webpack.config.ts b/webpack.config.ts index b756a26555..9a5517190d 100644 --- a/webpack.config.ts +++ b/webpack.config.ts @@ -180,6 +180,8 @@ export default (_env: unknown, argv: {mode?: string}): webpack.Configuration[] = // the source snippets with the eval-* options. devtool: production ? "source-map" : "cheap-module-source-map", optimization: { + // Module concatenation interferes with debug-require-webpack-plugin. + concatenateModules: false, minimizer: [ // Based on a comment in NMFR/optimize-css-assets-webpack-plugin#10. // Can be simplified when NMFR/optimize-css-assets-webpack-plugin#87