mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +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.
 | 
					        // 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
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user