Size Limit File Plugin
The plugin for Size Limit to track file size.
See Size Limit docs for more details.
File size plugin for Size Limit
The plugin for Size Limit to track file size.
See Size Limit docs for more details.
This project adheres to Semantic Versioning.
--config argument (by @EvgenyWas).await support to config (by @aryaemami59).time option to config (by @EvgenyWas).message option to config (by @dartess).esbuild.chokidar.esbuild.jiti.esbuild.esbuild.webpack-why regression (by @hoo00nn)..mjs config support (by Arya Emami).esbuild.require is not defined regression.esbuild-visualizer.estimo.lilconfig.gzip: true for old behavior.require is not defined in webpack-css (by Andrey Medvedev).@size-limit/dual-publish plugin.globby dependency.time plugin (by Aakansha Doshi).@size-limit/esbuild-why (by Yaroslav Chapelskyi).esbuild.@size-limit/esbuild-why for multiple checks (by Homa Wong).@size-limit/esbuild-why package size.@size-limit/esbuild-why plugin (by Homa Wong).esbuild.esbuild."*" value support to import (by @denkristoffer).config and modifyEsbuildConfig options (by Angelo Ashmore).esbuild.brotlied note to CLI output (by @azat-io).nanospinner.pnpm examples to migration guide.esbuild.nanospinner.@size-limit/esbuild.--save-bundle arguments with @size-limit/esbuild.ignore option with @size-limit/esbuild.brotli option without webpack.@size-limit/esbuild plugin for better performance (by Artem Tumin).@size-limit/preset-small-lib to @size-limit/esbuild.@size-limit/webpack-css (by Egor Ogarkov).--why to @size-limit/webpack-why (by Egor Ogarkov).nanospinner.mico-spinner to nanospinner.nanocolors dependency with picocolors.colorette dependency with nanocolors.pnpm support (by @Tomyail).mico-spinner dependency range..size-limit.cjs config file support (by Cole Ellison).modifyWebpackConfig option (by Lenz Weber).optimize-css-assets-webpack-plugin.1000 factor for KB and 1024 for KiB (by Matthias Kunnen).--silent argument (by Viktor Pasynok).cosmiconfig to lilconfig.--highlight-less for checks with bytes in limit.dual-publish.--save-bundle (by Leonard Kinday).--highlight-less argument (by Victor Didenko).peerDependencies resolving in import.peerDependencies support in import.css-loader and file-loader.--hide-passed argument (by Kristján Oddsson).MaxListenersExceededWarning (by Pavel Pustovalov).gzipped note (by Evgeniy Timokhov).--clean-dir argument.nanoid.file-loader.dual-publish plugin.--watch support (by @jayhoney).import option.import option.import option.dual-publish error.@size-limit/dual-publish plugin.import option.import option (by Brian Schlenker).gzip option plugins test.ci-job-number.size-limit from dependencies to peerDependencies.MaxListenersExceededWarning fix (by Pavel Pustovalov).MaxListenersExceededWarning (by Pavel Pustovalov).--why for entries with exceeded limit.--why for multiple entries.size-limit in dependencies..js or .mjs files in running time.--debug argument.Migration:
size-limit to 2.x version.npx size-limit.--why (by Anton Korzunov).ignore and peerDependencies (by Anton Korzunov).--no-gzip argument.package.json-less project support.getSize() call.package.main (by Homa Wong).--save-bundle argument (by Ivan Solovev).--json argument (by Pavel Vostrikov).webpack: false..size-limit.json config name support.css-loader 2.0 (by Redmond Tran).file-loader 3.0.entry option (by Naijia Liu).compression-webpack-plugin 2.0.webpack-bundle-analyzer 3.0.package.json#main as default path for limit.resolve or resolveLoader options.file-loader and style-loader.ignore option (by Jayden Seric).style-loader 0.22.ignore option to config.read-pkg-up 4.x.package.json..size-limit.js config support (by Olivier Tassinari).cosmiconfig 5.x.--limit argument.peerDependencies and --why (by Bogdan Chadkin).getSize() now returns { gzip, parsed } (by Bogdan Chadkin).path (by Bogdan Chadkin).webpack 4.0 (by Jayden Seric).globby 8.0.cosmiconfig 4.0.yargs 11.0.name option to config.gzip option to config.globby 7.0.package.json..size-limit config support (by Vladimir Borovik).--why with "webpack": false.yargs.peerDependencies."sizeLimit" section name.--why.size-limit configuration section support.node-zopfli as loose dependency.sizeLimit section.file-loader.sizeLimit configuration section support.--why mode.read-pkg-up to find package.json.ci-job-number to detect CI job number.--babili argument.B unit without kilo/mega prefix.