Austaras
cdb46cfb91
fix(es/hygiene): Visit computed properties in usage analyzer ( #3217 )
2022-01-09 15:42:19 +09:00
magic-akari
52961804d1
feat(es/codegen): Make the output for empty objects and empty statements pretty ( #3171 )
2022-01-03 05:54:58 +09:00
Donny/강동윤
a81661c74a
perf(es/hygiene): Fix performance bug ( #3090 )
...
swc_ecma_transforms_base:
- `hygiene`: Skip checking a symbol if we are sure that it will be discarded.
swc_ecma_laoder:
- Optimize `NodeModulesResolver` by trying `.js` first.
2021-12-21 23:52:13 +09:00
magic-akari
d5c7fb898f
fix(es/loader): Support fully-specified ESM import specifiers ( #3050 )
2021-12-16 11:37:22 +00:00
David Sherret
beb2c73c2c
fix(swc/hygiene): Prefer not renaming top level variables ( #2940 )
...
swc_ecma_transforms_base:
- `hygiene`: Use concept of depth to prevent renaming top level nodes.
2021-12-04 01:55:27 +09:00
David Sherret
4d993c26b6
fix(es/hygiene): Reduce renaming ( #2938 )
...
swc_ecma_transforms_base:
- `hygiene`: Treat class methods and constructors as a scope.
2021-12-02 07:28:09 +00:00
Donny/강동윤
24de5507ae
fix(bundler): Use interop for common js dependencies ( #2930 )
...
swc_bundler:
- Update helpers to use interop for common js deps. (Closes #2789 )
2021-12-01 19:53:06 +09:00
erdmko
c8de935560
fix(bundler): Ignore require
of external modules ( #2840 )
...
swc_bundler:
- Check for external modules for `require` calls`. (Closes #2275 )
2021-11-23 18:03:29 +09:00
Donny/강동윤
687305f280
refactor: Flatten crates ( #2697 )
2021-11-09 20:42:49 +09:00