You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 2, 2020. It is now read-only.
This patch adds production build output gzipped file size checks to the
test script so that any future efforts, including changes to the
bundler, may only introduce known size differences. Note:
• Initial limits were taken from the present gzipped chunk sizes rounded
up to the 10th of a kibibyte.
• Only production JavaScript and CSS files are checked.
• The package.json bundlesize configuration options should be moved to a
separate file when possible.
siddharthkp/bundlesize#171
• A leading zero is necessary for floating point limits less than one.
Without a leading zero, checks against these limits appear to always
pass.
• bundlesize was not added to dev because it doesn't support any quiet
options and is verbose. Tests are only executed at precommit.
• JEDEC notation is used. bundlesize internally uses Bytes utility which
only supports base 2 units.
https://github.com/visionmedia/bytes.js
0 commit comments