Fix Webpack Bundle Analyzer output for Webpacker (#3374)
Webpacker failed to parse output of Webpack when a module requires non-existent module or has similar errors. This commit fixes the bug.
This commit is contained in:
		
				
					committed by
					
						
						Eugen Rochko
					
				
			
			
				
	
			
			
			
						parent
						
							450441fc11
						
					
				
				
					commit
					189a06d2a2
				
			@@ -34,6 +34,7 @@ module.exports = merge(sharedConfig, {
 | 
				
			|||||||
      analyzerMode: 'static',
 | 
					      analyzerMode: 'static',
 | 
				
			||||||
      generateStatsFile: true,
 | 
					      generateStatsFile: true,
 | 
				
			||||||
      openAnalyzer: false,
 | 
					      openAnalyzer: false,
 | 
				
			||||||
 | 
					      logLevel: 'silent', // do not bother Webpacker, who runs with --json and parses stdout
 | 
				
			||||||
    }),
 | 
					    }),
 | 
				
			||||||
  ],
 | 
					  ],
 | 
				
			||||||
});
 | 
					});
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user