Donny/강동윤
9b76783281
refactor(common): Cleanup & rustfmt ( #3495 )
...
swc_common:
- Merge identical source codes.
swc_css_parser:
- Deny `clippy::all`.
- Fix lints.
2022-02-09 06:33:32 +00:00
Donny/강동윤
8bf5cf4d03
chore(es): Fix clippy warnings ( #3482 )
2022-02-08 19:50:22 +09:00
RiESAEX
afdb168aad
fix(es/loader): Add an option to resolve symlinks with true
as a default ( #3340 )
2022-01-24 21:21:06 +00:00
Donny/강동윤
357a350390
refactor(*): Cleanup ( #3274 )
2022-01-15 16:43:34 +09:00
Donny/강동윤
15b604b6d6
refactor(*): Fix some clippy warnings ( #3257 )
2022-01-14 07:20:45 +09:00
Donny/강동윤
978de5943e
chore(ci): Configure clippy
( #3250 )
2022-01-13 23:06:11 +09:00
Austaras
f58b50bea7
refactor(es/ast): Change types of member-like expressions ( #3178 )
...
swc_ecma_ast:
- Split `MemberExpr` into `MemberExpr` and `SuperPropExpr`.
- Use `Box<Expr>` for `MemberExpr.obj`.
- Use ad-hoc type for `MemberExpr.prop`.
- Use ad-hoc type for `SuperPropExpr.prop`.
- Use `Callee` instead of `ExprOrSpread` for `CallExpr`.
- Simplify types for meta property expressions.
2022-01-10 13:54:42 +00:00
Alex Alikiotis
d98a59339a
feat(es/bundler): Add an option to disable tree-shaking ( #3102 )
2021-12-23 02:53:02 +09:00
Donny/강동윤
ba2563f59e
fix(es/loader): Prefer ESM ( #3089 )
...
swc_ecma_loader:
- Check for `module` field and prefer it over `main`.
2021-12-21 21:39:35 +09:00
Donny/강동윤
0e4dce694d
refactor(es/minifier): Use swc_timer
( #3087 )
...
swc_bundler:
- Add `Config.disable_fixer`.
- Add `Config.disable_hygiene`.
swc_ecma_minifier:
- Use `swc_timer`.
2021-12-21 18:19:33 +09:00
Donny/강동윤
665c8e05fc
fix(es): Move TargetEnv
to loader from ast ( #2719 )
...
swc_ecma_ast:
- Move `TargetEnv` to `swc_ecma_loader`.
swc_ecma_loader:
- Drop unused dependencies.
2021-11-11 20:00:46 +09:00
Donny/강동윤
687305f280
refactor: Flatten crates ( #2697 )
2021-11-09 20:42:49 +09:00