Skip to content

Instantly share code, notes, and snippets.

@impankratov
Created July 2, 2017 19:30
Show Gist options
  • Select an option

  • Save impankratov/f83d97c2db2e4b82abbf766e79b12343 to your computer and use it in GitHub Desktop.

Select an option

Save impankratov/f83d97c2db2e4b82abbf766e79b12343 to your computer and use it in GitHub Desktop.
webpack-bundle-analyzer plugin config
const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin;
new BundleAnalyzerPlugin({
openAnalyzer: true,
generateStatsFile: true,
statsFilename: 'stats.json',
}),
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment