mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
webpack: Disable module concatenation.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
7c860caffc
commit
a6510789c9
@@ -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
|
||||
|
Reference in New Issue
Block a user