Donny/강동윤
19ce2737b1
feat(es/minifier): Collapse let
without init ( #5909 )
...
**Description:**
This patch applies the variable collapsing logic for the variables declared with `var` to the variables declared with `let`. This requires some patch about the behavior of visitors about `BlockStmt`, so this patch includes relevant changes.
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/5696 .
2022-09-21 15:04:29 +00:00
Donny/강동윤
60ce462215
feat(es/minifier): Align name mangler with terser ( #5763 )
2022-09-06 21:37:58 +09:00
Donny/강동윤
537449e53b
fix(es/codegen): Emit trailing semicolon ( #5659 )
2022-08-29 10:10:55 +00:00
Austaras
69f8945911
feat(es/minifier): Remove more functions and classes ( #5552 )
2022-08-19 04:28:06 +00:00
Austaras
e37b7e8caa
feat(es/codegen): Remove more whitespaces from BinExpr
( #5380 )
2022-08-04 16:52:06 +09:00
Donny/강동윤
3943eb24d1
feat(es/minifier): Consider char frequencies ( #5375 )
2022-08-03 10:20:17 +00:00
Donny/강동윤
36d960c7e9
perf(es/hygiene): Make hygiene
faster ( #4952 )
2022-06-15 14:36:57 +00:00
Donny/강동윤
49b3c2715c
refactor(es/minifier): Make rust-analyzer
fast, really ( #4746 )
2022-05-23 16:16:05 +09:00
Donny/강동윤
47e6cc5190
refactor(es/minifier): Make rust-analyzer
faster ( #4744 )
...
- We now use a separate crate for testing the minifier. This makes IDE much faster.
2022-05-23 15:53:01 +09:00
Austaras
e1b13eb21a
feat(es/codegen): Optimize output of new expressions without arguments ( #3800 )
2022-03-01 10:55:49 +00:00
Donny/강동윤
e9fabd61e8
feat(es/minifier): Improve name mangler ( #3638 )
2022-02-20 12:08:26 +00:00
Donny/강동윤
df635c9e6d
fix(es/minifier): Fix minifier ( #2711 )
...
swc_ecma_minifier:
- Respect `inline_prevented`.
- Mark the LHS of an assignment pattern property as a pattern. (https://github.com/vercel/next.js/issues/30498 )
2021-11-10 20:56:50 +09:00