Skip to content

Latest commit

 

History

History
107 lines (58 loc) · 2.8 KB

CHANGELOG.md

File metadata and controls

107 lines (58 loc) · 2.8 KB

4.0.0 (2025-04-26)

Features

  • Upgrade dependencies (fbe2276)
  • Use esbuild minifier by default (93628d5)

Bug Fixes

  • Pass the JS source type properly in non-JSON mode (c4d98bc)

BREAKING CHANGES

The default minifier is esbuild now. It will probably break no real-world use case. Nevertheless, the reported minified changes with the default parameters might change.

The minimum supported version of Node.js is 14.13 from now on. It will probably not break anything, because this version is very old.

3.1.0 (2023-12-10)

Bug Fixes

Features

  • Allow setting the source type for swc (7ef2608)

3.0.0 (2022-08-01)

Bug Fixes

  • Upgrade deps, pin pretty-bytes, replace chalk with colorette (4fba183)

Features

  • Minify with swc by default (b3a2336)

BREAKING CHANGES

  • 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.

Changes

2.3.1

  • Upgrade package dependencies

2.3.0

  • Estimate the size of the brotli-compressed minified code
  • Estimate the gzipped size using gzip and not deflate
  • Upgrade package dependencies

2.2.1

  • Estimate the gzipped size using gzip and not deflate
  • Upgrade dependencies

2.2.0

Print total sizes

2.1.0

Use esbuild for better speed, terser and babel-minify are optional

2.0.0

Print results for each file early; do not wait, until all are processed

1.2.0

Support stylesheets (CSS) and web pages (HTML)

1.0.0

Support full Unicode and prints better error messages

0.2.2

Support Windows paths

0.2.0

Support source code read from standard input

0.1.0

Support wildcards in the input file paths

0.0.1

Initial release