kaliber5 / ember-cli-bundlesize

Make sure your Ember app stays small by testing its bundle size against a given size budget.
MIT License
35 stars 5 forks source link

Support relative size assertions #10

Open simonihmig opened 5 years ago

simonihmig commented 5 years ago

Currently the addon supports only absolute size assertions. From the beginning of working on this I had the idea that supporting relative assertions (e.g. max increase of 1%) would be really cool, but semantics and implementation is not clear to me yet:

makepanic commented 5 years ago

I don't think we can easily persist the information over multiple builds without creating data which has to be committed.

With addons, we could check the published artifact to compare versions.