swc/ecmascript/transforms/optimization
강동윤 0e30deba1a
feat(es/minifier): Implement more rules (#2058)
swc_ecma_minifier:
 - Enable some sequential merging if `collapse_vars` is set.
 - Enable sequential merging for top level items.
 - `if_return`: Don't inject `void` if it's not exact function body. (#2072)
 - `sequences`: Add some condition for aborting. (#2078)

swc_ecma_utils:
 - Add `collect_decls`.
 - Add `collect_decls_with_ctxt`.

swc_ecma_transforms_optimization:
 - `inline_globals`: Don't replace if a binding exists. (#1294)
2021-08-15 13:09:21 +00:00
..
src feat(es/minifier): Implement more rules (#2058) 2021-08-15 13:09:21 +00:00
tests fix(bundler): Prepare renaming of bundler (#2066) 2021-08-13 10:03:04 +00:00
Cargo.toml feat(es/minifier): Implement more rules (#2058) 2021-08-15 13:09:21 +00:00