3.1.0 (2023-12-10)
- Allow setting the source type for swc (7ef2608)
3.0.0 (2022-08-01)
- Upgrade deps, pin pretty-bytes, replace chalk with colorette (4fba183)
- Minify with swc by default (b3a2336)
- Although the output of this tool did not change, swc may have different behaviour than esbuild. The effect should be better compression, but if this tool starts failing, you can file a bugu about it and force esbuild or other minifier as a temporary workaround.
- Upgrade package dependencies
- Estimate the size of the brotli-compressed minified code
- Estimate the gzipped size using gzip and not deflate
- Upgrade package dependencies
- Estimate the gzipped size using gzip and not deflate
- Upgrade dependencies
Print total sizes
Use esbuild for better speed, terser and babel-minify are optional
Print results for each file early; do not wait, until all are processed
Support stylesheets (CSS) and web pages (HTML)
Support full Unicode and prints better error messages
Support Windows paths
Support source code read from standard input
Support wildcards in the input file paths
Initial release