webpack-bundle-diff

v0.3.0
Understand changes in webpack bundle size

build

tsc

data

yarn build && node --max-old-space-size=12288 lib/cli.js data sampledata/stats.json -o sampledata/bundledata.json

ddata

yarn build && node --inspect-brk --max-old-space-size=12288 lib/cli.js data sampledata/stats.json -o sampledata/bundledata.json

diff

yarn build && node lib/cli.js diff sampledata/data1.json sampledata/data2.json -o sampledata/diff.json

ddiff

yarn build && node --inspect-brk lib/cli.js diff sampledata/data1.json sampledata/data2.json -o sampledata/diff.json

report

yarn build && node lib/cli.js report sampledata/diff.json -o sampledata/report.md

dreport

yarn build && node --inspect-brk lib/cli.js report sampledata/diff.json -o sampledata/report.md

test

jest

Metadata

  • MIT
  • Whatever
  • Scott Mikula
  • released 1/23/2019

Downloads

Maintainers