Revert "webpack: Disable module concatenation."

This reverts commit a6510789c9.
This commit is contained in:
Anders Kaseorg 2021-03-01 14:51:26 -08:00 committed by Tim Abbott
parent 79ac5c25b5
commit d355122c77
1 changed files with 0 additions and 2 deletions

View File

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