swc/ecmascript/transforms/base
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
..
benches feat(ecmascript/transforms): Split into multiple crates. (#1311) 2021-01-05 14:29:52 +09:00
src fix(es/transforms): Fix for react + typescript (#2422) 2021-10-13 22:29:56 +09:00
tests fix(es/transforms/base): Optimize hygiene (#2193) 2021-09-01 13:11:55 +00:00
Cargo.toml fix(es/transforms): Fix for react + typescript (#2422) 2021-10-13 22:29:56 +09:00