swc/common
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 perf(node/swc): Use mimalloc (#2068) 2021-08-13 18:39:13 +09:00
examples use 2018 edition syntax (#479) 2019-12-02 17:10:05 +09:00
src fix(es/transforms): Fix for react + typescript (#2422) 2021-10-13 22:29:56 +09:00
tests feat(ast_node): Add #[ast_serde] (#1595) 2021-04-21 09:11:50 +00:00
Cargo.toml fix(es/transforms): Fix for react + typescript (#2422) 2021-10-13 22:29:56 +09:00