Skip to content

Joaquin6/webpack-visualizer

 
 

Repository files navigation

Webpack Visualizer

Visualize and analyze your Webpack bundle to see which modules are taking up space and which might be duplicates.

Site Usage

Upload your stats JSON file to the site: joaquin6.github.io/webpack-visualizer/

Plugin Usage

npm install webpack-visualizer-plugin
const Visualizer = require('webpack-visualizer-plugin'); //... plugins: [new Visualizer()], //...

This will output a file named stats.html in your output directory. You can modify the name/location by passing a filename parameter into the constructor.

const Visualizer = require('webpack-visualizer-plugin'); //... plugins: [new Visualizer({ filename: './statistics.html' })], //...

About

Visualize your Webpack bundle

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 75.9%
  • CSS 24.1%