Skip to content

v1.2.67: feat(swc): Expose minifier api (#1978)

Compare
Choose a tag to compare
@github-actions github-actions released this 31 Jul 07:35
· 8834 commits to main since this release
d1c4817
swc_ecma_codegen:
 - Fix codegen of imports when minification is enabled.

swc_ecma_minifier:
 - Mangle identifiers used by imports.

swc:
 - Support specifing `jsc.minify`. (#704, #1371)

swc/node:
 - Add `.minify()`.
 - Add `.minifySync()`.

swc/wasm:
 - Add `.minifySync()`.