Crate swc_ecma_transforms
source ·Re-exports§
pub use swc_ecma_transforms_compat as compat;
compat
pub use swc_ecma_transforms_module as modules;
module
pub use swc_ecma_transforms_optimization as optimization;
optimization
pub use swc_ecma_transforms_proposal as proposals;
proposal
pub use swc_ecma_transforms_react as react;
pub use swc_ecma_transforms_typescript as typescript;
react
andtypescript
Modules§
Structs§
- Alternative for https://babeljs.io/docs/en/assumptions
Functions§
- const_modules
optimization
- Fixes ast nodes before printing so semantics are preserved.
- See Ident for know how does swc manages identifiers.