How to use webpack-bundle-analyzer
Comprehensive webpack-bundle-analyzer code examples:
How to use webpack-bundle-analyzer.BundleAnalyzerPlugin:
26 27 28 29 30 31 32 33 34 35 36
process: 'process/browser.js', Buffer: ['buffer', 'Buffer'], }), ]; if (bundleStats) { plugins.push(new BundleAnalyzerPlugin({ analyzerMode: 'static' })); } if (!buildConfig.__SSR__ && buildConfig.__DEV__) { const dotenv = require('dotenv-safe').config({
25
47
6
See more examples