Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

webpack: Disable module concatenation.

Anders Kaseorga6510789c9e5
diff --git a/webpack.config.ts b/webpack.config.ts
index b756a265555..9a5517190d6 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