Skip to content

ryan953/webpack-visualizer

 
 

Repository files navigation

Usage

git clone https://github.com/bradencanderson/webpack-visualizer.git 
cd webpack-visualizer npm install npm run build npm run dev

Generate a webpack stats file:

plugins.push(new BundleAnalyzerPlugin({ analyzerMode: 'disabled', openAnalyzer: false, generateStatsFile: true, statsFilename: 'stats/stats.json', statsOptions: { assets: true, source: false, chunks: true, modules: true, children: true, } }));

Then open up localhost:8080 and drag your stats file into the window.


About

Visualize your Webpack bundle

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 73.2%
  • CSS 26.8%