Socket
Socket
Sign inDemoInstall

webpack-monitor

Package Overview
Dependencies
198
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    webpack-monitor

Monitor your production builds throughout the development process with rich analysis tool


Version published
Weekly downloads
2K
decreased by-11.71%
Maintainers
1
Install size
12.4 MB
Created
Weekly downloads
 

Readme

Source

Webpack Monitor

Webpack Monitor is a configurable Webpack plugin that captures relevant statistics on your production builds, and an interactive analysis tool that helps developers better understand bundle composition and identify and prioritize optimization strategies.

Usage

webpack monitor analysis tool

Install the webpack monitor plugin on your production config. The plugin will collect stats whenever meaningful changes to bundle composition have occurred. Optionally launch analysis too to see how your bundles have changed over time!

Setup

npm install --save-dev webpack-monitor

in webpack.config.js

const WebpackMonitor = require('webpack-monitor');

// ...

plugins: [
  new WebpackMonitor({
    capture: true, // -> default 'true'
    target: '../monitor/myStatsStore.json', // default -> '../monitor/stats.json'
    launch: true, // -> default 'false'
    port: 3030, // default -> 8081
  }),
],

capture will collect stats on the build where meaningful changes have occured. We do not capture build data where the build does not differ from most recent build on file. target specify where to save your build data launch will fire up a local server and launch the webpack monitor analysis tool port optionally set the port for local server

Contributing

To contribute to webpack-monitor, fork the repository and clone it to your machine then install dependencies with npm install. If you're interested in joining the Webpack Monitor team as a contributor, feel free to message one of us directly!

Authors

  • Jon Roach (https://github.com/roachjc)
  • Gordon Yu (https://github.com/gordonu)
  • Balal Zuhair (https://github.com/bzuhair)

License

This project is licensed under the MIT License - see the LICENSE.md file for details

FAQs

Last updated on 05 Dec 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