Socket
Socket
Sign inDemoInstall

webpack-visualizer-plugin

Package Overview
Dependencies
44
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    webpack-visualizer-plugin

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


Version published
Weekly downloads
23K
decreased by-14.11%
Maintainers
1
Install size
11.1 MB
Created
Weekly downloads
 

Readme

Source

Webpack Visualizer

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

This tool is still pretty new, so please submit issues or feature requests!

Site Usage

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

Plugin Usage

npm install webpack-visualizer-plugin
var 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.

var Visualizer = require('webpack-visualizer-plugin');

//...
plugins: [new Visualizer({
  filename: './statistics.html'
})],
//...

FAQs

Last updated on 24 Feb 2017

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc