swc/ecmascript/transforms/react
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
..
scripts feat(es/transforms/react): New jsx transform (#1408) 2021-02-19 14:32:53 +09:00
src fix(es/transforms): Fix for react + typescript (#2422) 2021-10-13 22:29:56 +09:00
tests/jsx/fixture fix(swc): Fix bugs (#2396) 2021-10-10 09:19:47 +00:00
Cargo.toml fix(es/transforms): Fix for react + typescript (#2422) 2021-10-13 22:29:56 +09:00