swc/ecmascript/transforms/optimization
Donny/강동윤 76de51333d
fix(es/transforms): Fix for react + typescript (#2422)
swc_common:
 - Add `NoopComments`.
 - Implement `Comments` for `Option<C>` where C: `Comments`.
 - Add some helper methods to `Comments`.
 - Deprecate `CommentsExt`.

swc_ecma_transforms_base:
 - `resolver`: Handle `TsImportEqualsDecl`.

swc_ecma_transforms_react:
 - Reduce useless cloning using `Arc`.
 - Expose API for parsing directives like `@jsxPragma`.

swc_ecma_transforms_typescript:
 - Accept `pragma` and `pragmaFrag`.
 - Support jsx directives.
 - Preserve jsx-related imports.

swc:
 - Optimize `SwcComments`.
 - Run`resolver` before everything else.
2021-10-13 22:29:56 +09:00
..
src perf(bundler): Improve performance (#2384) 2021-10-09 08:08:13 +00:00
tests feat(swcpack): Enable concurrent mode (#2356) 2021-10-08 16:47:01 +09:00
Cargo.toml fix(es/transforms): Fix for react + typescript (#2422) 2021-10-13 22:29:56 +09:00