perf: remove stats.json generation in webpack (#10290)
* perf: remove stats.json generation in webpack * fix code comment
This commit is contained in:
		
							parent
							
								
									1c113fd72d
								
							
						
					
					
						commit
						d5c79975ea
					
				
					 1 changed files with 1 additions and 6 deletions
				
			
		| 
						 | 
				
			
			@ -57,13 +57,8 @@ module.exports = merge(sharedConfig, {
 | 
			
		|||
      cache: true,
 | 
			
		||||
      test: /\.(js|css|html|json|ico|svg|eot|otf|ttf|map)$/,
 | 
			
		||||
    }),
 | 
			
		||||
    new BundleAnalyzerPlugin({ // generates report.html and stats.json
 | 
			
		||||
    new BundleAnalyzerPlugin({ // generates report.html
 | 
			
		||||
      analyzerMode: 'static',
 | 
			
		||||
      generateStatsFile: true,
 | 
			
		||||
      statsOptions: {
 | 
			
		||||
        // allows usage with http://chrisbateman.github.io/webpack-visualizer/
 | 
			
		||||
        chunkModules: true,
 | 
			
		||||
      },
 | 
			
		||||
      openAnalyzer: false,
 | 
			
		||||
      logLevel: 'silent', // do not bother Webpacker, who runs with --json and parses stdout
 | 
			
		||||
    }),
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue