This project adheres to Semantic Versioning.
- Add
.size-limit.js
config support (by Olivier Tassinari).
- Use
cosmiconfig
5.x. - Improve CI (by Daniel Ruf).
- Remove deprecated limit CLI API and add
--limit
argument.
- Fix
peerDependencies
and--why
(by Bogdan Chadkin).
- Allow to use Size Limit in CI with Node.js 4.
getSize()
now returns{ gzip, parsed }
(by Bogdan Chadkin).- Improve size calculation accuracy (by Bogdan Chadkin).
- Array support in the
path
(by Bogdan Chadkin).
- Improve performance (by Bogdan Chadkin).
- Allow to use Size Limit in CI with Node.js 4.
- Remove Node.js 4 support.
- Use
webpack
4.0 (by Jayden Seric). - Use
globby
8.0.
- Use
cosmiconfig
4.0. - Use
yargs
11.0.
- Add
name
option to config. - Add
gzip
option to config.
- Use
globby
7.0.
- Allow to use Size Limit without
package.json
.
- Add
.size-limit
config support (by Vladimir Borovik).
- Fix dependency resolving with custom webpack config (by Sivan Mehta).
- Add custom webpack config support (by Sivan Mehta).
- Fix CLI messages (by @mute).
- Better error message on
--why
with"webpack": false
.
- Update
yargs
.
- Better error message on wrong config.
- Fix English in config error messages (by Tim Marinin).
- Show config example in config error messages.
- Better error message on wrong config.
- Better error message on missed file in legacy CLI.
- Ignore size of
peerDependencies
.
- Add CSS files support (by Sebastian Werner).
- Add support for more static files types (by Sebastian Werner).
- Use UglifyJS 3 to support ES2016 out of box.
- Add argument and option to disable webpack.
- Deprecate argument and option for Babili.
- Deprecate limit in CLI arguments.
- Deprecate old
"sizeLimit"
section name. - Better error messages style.
- Clean npm package from test files.
- Fix error messages text (by Alexandr Subbotin).
- Improve error messages style.
- Better output for projects with multiple limits.
- Fix multiple limits support in
--why
.
- Improve CLI help (by Peter deHaan).
- Add
size-limit
configuration section support.
- Fix multiline error messages in CLI.
- Do not load
node-zopfli
as loose dependency.
- Add glob pattern support to
sizeLimit
section.
- Better project name in Webpack Bundle Analyzer.
- Load images by
file-loader
.
- Add
sizeLimit
configuration section support.
- Use gzip sizes in Webpack Bundle Analyzer.
- Add Semaphore support.
- Add CircleCI support.
- Fix bundle name in
--why
mode. - Move gzip calculation inside webpack.
- Use
read-pkg-up
to findpackage.json
. - Use
ci-job-number
to detect CI job number.
- Run only on first CI job to save CI resources.
- Add
--babili
argument. - Use Chalk 2.
- Fix CLI text (by Yaroslav Markin).
- Fix CLI text (by Marais Rossouw).
- Fix parsing
B
unit without kilo/mega prefix.
- Initial release.