This project adheres to Semantic Versioning.
- Fix
--whyfor entries with exceeded limit. - Fix
--whyfor multiple entries.
- Fix running time calculation on parallel tasks.
- Fix CI warning text during Puppeteer error.
- Add warning for
size-limitin dependencies.
- Fix plugin loading (by Alexandr Antonov).
- Update dependencies.
- Ignore non
.jsor.mjsfiles in running time. - Speed up running time calculation.
- Add
--debugargument.
- Fix time limit support.
- Fix possible webpack temporal directory name conflict.
- Rewrite tool with modular architecture.
Migration:
- Update
size-limitto 2.x version. - Run
npx size-limit. - Console will output instructions for installing necessary preset.
- Do not download Chrome for Puppeteer if you already have desktop Chrome.
- More accurate
--why(by Anton Korzunov). - Fix
ignoreandpeerDependencies(by Anton Korzunov). - Fix
--no-gzipargument.
- Fix
package.json-less project support. - Improve error message on wrong
getSize()call. - Fix JSDoc.
- Fix CI warning text.
- Fix CI warning style.
- Fix ignoring scoped packages.
- Fix support extension-less
package.main(by Homa Wong). - Add warning or Circle CI.
- Speed up running time calculation.
- Add
--save-bundleargument (by Ivan Solovev).
- Add
--jsonargument (by Pavel Vostrikov).
- Fix running time calculation on
webpack: false.
- Allow to use Size Limit on CI with Node.js <8 tasks.
- Calculate time to download and execute JS.
- Improve CLI UI.
- Fix Markdown files support (by Scaria Rex Arun and Kiryl Misachenka).
- Add
.size-limit.jsonconfig name support.
- Drop Node.js 6 support.
- Update inner CLI tools.
- Use
css-loader2.0 (by Redmond Tran). - Use
file-loader3.0.
- Add support for dynamic filename in custom Webpack config (by Naijia Liu).
- Add
entryoption (by Naijia Liu).
- Use
compression-webpack-plugin2.0. - Use
webpack-bundle-analyzer3.0.
- Use
package.json#mainas default path for limit. - Fix custom webpack config support with
resolveorresolveLoaderoptions.
- Update
file-loaderandstyle-loader.
- Fix
ignoreoption (by Jayden Seric).
- Use
style-loader0.22.
- Add
ignoreoption to config.
- Fix absolute path support.
- Update dependencies.
- Fix documentation.
- Use
read-pkg-up4.x. - Remove development config from
package.json.
- Fix size with new webpack.
- Move development config files from npm package.
- Add
.size-limit.jsconfig support (by Olivier Tassinari).
- Use
cosmiconfig5.x. - Improve CI (by Daniel Ruf).
- Remove deprecated limit CLI API and add
--limitargument.
- Fix
peerDependenciesand--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
webpack4.0 (by Jayden Seric). - Use
globby8.0.
- Use
cosmiconfig4.0. - Use
yargs11.0.
- Add
nameoption to config. - Add
gzipoption to config.
- Use
globby7.0.
- Allow to use Size Limit without
package.json.
- Add
.size-limitconfig 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
--whywith"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-limitconfiguration section support.
- Fix multiline error messages in CLI.
- Do not load
node-zopflias loose dependency.
- Add glob pattern support to
sizeLimitsection.
- Better project name in Webpack Bundle Analyzer.
- Load images by
file-loader.
- Add
sizeLimitconfiguration section support.
- Use gzip sizes in Webpack Bundle Analyzer.
- Add Semaphore support.
- Add CircleCI support.
- Fix bundle name in
--whymode. - Move gzip calculation inside webpack.
- Use
read-pkg-upto findpackage.json. - Use
ci-job-numberto detect CI job number.
- Run only on first CI job to save CI resources.
- Add
--babiliargument. - Use Chalk 2.
- Fix CLI text (by Yaroslav Markin).
- Fix CLI text (by Marais Rossouw).
- Fix parsing
Bunit without kilo/mega prefix.
- Initial release.