Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@jimdo/webpack-stats-diff

Package Overview
Dependencies
Maintainers
4
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jimdo/webpack-stats-diff

Diffs two webpack stats outputs (e.g. via [stats-webpack-plugin](https://www.npmjs.com/package/stats-webpack-plugin)) and gives back an object with file size changes in a human readable format

  • 1.0.2
  • npm
  • Socket score

Version published
Maintainers
4
Created
Source

webpack-stats-diff

Diffs two webpack stats outputs (e.g. via stats-webpack-plugin) and gives back an object with file size changes in a human readable format

Install it

npm i --save-dev @jimdo/webpack-stats-diff

Run it

# Download production stats.json 
wget -q -O production-stats.json http://jenkins.prod.aws.jimdo-server.com/job/production-pipeline/job/assets-for-cdn-to-s3/lastSuccessfulBuild/artifact/target/stats.json
# Fetch branch stats.json
cp ../jimdo/build/assets/stats.json ./branch-stats.json
# Run tool
$(npm bin)/webpack-stats-diff ./production-stats.json ./branch-stats.json

Example output

{
  "lazy/Siteadmin.Newemail": "-113.89kB",
  "lazy/Blog": "-113.95kB",
  "cms.js": "114.9kB",
  "wrapper.angular.js": "-114.75kB"
}

FAQs

Package last updated on 26 Sep 2016

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc