This project adheres to Semantic Versioning.
- Updated
css-minimizer-webpack-plugin(by @SevereCloud).
- Moved
jitito optional dependency. - Removed
chokidardependency in favor offs.watch. - Removed Node.js 18 support.
- Updated
open&esbuilddependencies. - Fixed docs (by @nlopin & @just-boris).
- Added
--configargument (by @EvgenyWas). - Added top-level
awaitsupport to config (by @aryaemami59). - Added
timeoption to config (by @EvgenyWas). - Added
messageoption to config (by @dartess). - Updated
esbuild.
- Updated
chokidar. - Updated
esbuild. - Updated
jiti.
- Reduced dependencies (by @ziebam).
- Updated
esbuild.
- Fixed types (by @aryaemami59).
- Updated
esbuild. - Updated CSS loaders for webpack.
- Fixed CSS support in esbuild plugin (by @just-boris).
- Fixed Windows support (by @aryaemami59).
- Added TypeScript support for config (by @aryaemami59).
- Fixed
webpack-whyregression (by @hoo00nn).
- Fixed
.mjsconfig support (by Arya Emami). - Updated
esbuild.
- Fixed
require is not definedregression. - Updated
esbuild-visualizer.
- Updated
estimo. - Updated
lilconfig.
- Moved to Brotli as default compression. Use
gzip: truefor old behavior.
- Fixed third-party plugins support (by @JounQin).
- Fixed Windows support (by @JounQin).
- Fixed
require is not definedinwebpack-css(by Andrey Medvedev). - Fixed webpack config defined as function support (by @lev875).
- Fixed imports and exports between packages.
- Removed
@size-limit/dual-publishplugin. - Moved projects to ESM (by @lev875). Size Limit still can be used as CLI in CJS projects.
- Updated
globbydependency.
- Remove Node.js 14 and 16 support.
- Moved to React from CDN for
timeplugin (by Aakansha Doshi).
- Fixed npm release process.
- Fixed opening report in
@size-limit/esbuild-why(by Yaroslav Chapelskyi). - Updated
esbuild.
- Fixed
@size-limit/esbuild-whyfor multiple checks (by Homa Wong).
- Fixed npm release process.
- Fixed npm release process.
- Fixed
@size-limit/esbuild-whypackage size.
- Added
@size-limit/esbuild-whyplugin (by Homa Wong). - Fixed peer dependency (by Sébastien Vanvelthem).
- Fixed silent mode (by Igor Suvorov).
- Updated
esbuild. - Reduced dependencies.
- Updated
esbuild.
- Added
"*"value support toimport(by @denkristoffer).
- Fixed
configandmodifyEsbuildConfigoptions (by Angelo Ashmore). - Updated
esbuild.
- Removed Node.js 12 support.
- Added support for third-party plugins support (by @JounQin).
- Added field with limit to JSON output (by Elliot Westlake).
- Fixed peer dependencies.
- Fixed plugin versions in presets.
- Added
brotliednote to CLI output (by @azat-io). - Updated
nanospinner.
- Added
pnpmexamples to migration guide. - Fixed docs (by @azat-io).
- Updated
esbuild. - Updated
nanospinner.
- Fixed package size.
- Fixed peer dependency ignore in
@size-limit/esbuild.
- Fixed
--save-bundlearguments with@size-limit/esbuild. - Fixed
ignoreoption with@size-limit/esbuild. - Fixed
brotlioption without webpack. - Fixed error messages.
- Added
@size-limit/esbuildplugin for better performance (by Artem Tumin). - Moved
@size-limit/preset-small-libto@size-limit/esbuild. - Moved CSS from webpack plugin to
@size-limit/webpack-css(by Egor Ogarkov). - Moved
--whyto@size-limit/webpack-why(by Egor Ogarkov).
- Updated dependencies.
- Updated
nanospinner.
- Fixed Statoscope report location (by Sergey Melyukov).
- Replaced
mico-spinnertonanospinner.
- Moved to webpack 5 (by Ludovico Fischer).
- Moved from Webpack Bundle Analyzer to Statoscope (by Sergey Melyukov).
- Replaced
nanocolorsdependency withpicocolors.
- Replaced
colorettedependency withnanocolors.
- Fixed
pnpmsupport (by @Tomyail).
- Fixed error message on no input files for webpack.
- Fixed plugins loading from optional dependencies (by Edouard Menayde).
- Fixed
mico-spinnerdependency range.
- Removed Node.js 10 support.
- Reduced dependencies (by Stsefanovich Kanstantsin & @enemycnt).
- Added
.size-limit.cjsconfig file support (by Cole Ellison).
- Added
modifyWebpackConfigoption (by Lenz Weber).
- Updated
optimize-css-assets-webpack-plugin.
- Use
1000factor forKBand1024forKiB(by Matthias Kunnen).
- Fixed output on missed file (by Viktor Pasynok).
- Added
--silentargument (by Viktor Pasynok).
- Fixed plugin loading for mono repository (by John Grishin).
- Reduced dependencies by replacing
cosmiconfigtolilconfig.
- Added auto
--highlight-lessfor checks with bytes in limit. - Updated
dual-publish.
- Added webpack stats support in
--save-bundle(by Leonard Kinday).
- Added
--highlight-lessargument (by Victor Didenko).
- Fixed
peerDependenciesresolving inimport. - Fixed Node.js 15 support.
- Fixed
peerDependenciessupport inimport. - Fixed npm 7 support.
- Updated
css-loaderandfile-loader.
- Added
--hide-passedargument (by Kristján Oddsson).
- Do not show loader in JSON mode (by Billy Vong).
- Fix “file was not found” behaviour (by Pavel Pustovalov).
- Dropped Node.js 13.0-13.6 support because of ES modules bug in that versions.
- Better warning on missed value in CLI argument (by Mikhail Vyrodov).
- Fixed
MaxListenersExceededWarning(by Pavel Pustovalov). - Fixed
gzippednote (by Evgeniy Timokhov).
- Replace color output library.
- Reduce dependencies.
- Improve docs (by Mikhail Bashurov).
- Add
--clean-dirargument.
- Fix Windows support.
- Fix Yarn 2 support.
- Fix Windows support (by Anton Khlynovskiy).
- Update
nanoid.
- Update
file-loader. - Add peer dependency to
dual-publishplugin.
- Add
--watchsupport (by @jayhoney).
- Fix
importoption.
- Add multiple files support for
importoption. - Add multiple files support for
importoption.
- Fix
dual-publisherror.
- Add
@size-limit/dual-publishplugin.
- Fix
importoption.
- Add tree-shaking support with
importoption (by Brian Schlenker).
- Fix
gzipoption plugins test. - Update
ci-job-number.
- Fix note text (by Pavel Pustovalov).
- Move
size-limitfromdependenciestopeerDependencies.
- Add Yarn PnP and Yarn 2 support (by Pavel Pustovalov).
- Drop Node.js 8 support.
- Add Brotli support (by Viktor Pasynok).
- Improve
MaxListenersExceededWarningfix (by Pavel Pustovalov).
- Fix
MaxListenersExceededWarning(by Pavel Pustovalov).
- Fix JS API.
- Fix warning message (by Alexey Taktarov).
- Add JS API.
- 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.