- BugFix: Update build configuration for better CJS & ESM compat support.
- BREAKING: Option
removeOrigin
was removed, please use optionemitOrigin
(default astrue
) to control whether to emit origin file. - FEATURE: Add
exclude
option to control which files should be compressed(bymicromatch
). - CHORE: Both CJS and ESM output will be published now, as with
exports
field in packages.json, you will be using the ESM version byimport
, and CJS version byrequire
.