OJ Kwon
6148d0c3da
refactor(es/transforms/compat): Migrate to VisitMut
( #2709 )
...
swc_ecma_transforms_compat:
- `async_to_generator`: Migrate to `VisitMut`.
2021-11-12 07:25:32 +00:00
Donny
544835a3a5
chore: Publish crates
2021-11-11 23:37:43 +09:00
RiESAEX
11d1fa56c0
fix(es/lexer): Fix handling of jsx escapes ( #2723 )
...
swc_ecma_parser:
- Remove logic for unescaping jsx escapes. (Closes #2162 )
2021-11-11 14:37:21 +00: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/강동윤
1d028fe940
fix(es): Fix paths
support ( #2712 )
...
swc_ecma_loader:
- `TsConfigResolver`: Use `baseUrl` on exact match while resolving. (Closes #2126 )
swc_ecma_transforms_module:
- Add `import_rewriter`.
- `NodeImportResolver`: Don't strip extension if it's a directory. (Closes #2269 )
- `NodeImportResolver`: Don't strip extension if it's not `.ts`, `.js` nor `.tsx`.
swc:
- Use `import_rewriter`. (Closes #1943 , Closes #2523 )
- Update test (Closes #2715 )
2021-11-11 16:57:31 +09:00
Donny
3adeb6bf30
chore: Publish crates
2021-11-10 20:57:43 +09: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
Donny/강동윤
2b2f6955f2
refactor: Flatten ecmascript
( #2708 )
2021-11-10 19:00:54 +09:00
Donny/강동윤
a90fae5696
fix(swc): Fix tests ( #2707 )
2021-11-10 18:08:45 +09:00
Donny/강동윤
4f70ee6d98
refactor: Flatten more packages ( #2706 )
2021-11-10 16:39:01 +09:00
Donny/강동윤
8edd72ed73
fix(es/transforms/compat): Use _createSuper
for super classes ( #2699 )
...
swc_ecma_transforms_base:
- Add `_createSuper` helper.
- Add `_isNativeReflectConstruct` helper.
swc_ecma_transforms_compat:
- `classes`: Apply `_createSuper` to the super classes.
2021-11-10 16:15:03 +09:00
Donny/강동윤
687305f280
refactor: Flatten crates ( #2697 )
2021-11-09 20:42:49 +09:00