Cargo Features
swc_ecma_transforms has no features set by default.
[dependencies]
swc_ecma_transforms = { version = "8.0.0", features = ["compat", "concurrent", "module", "multi-module-decorator", "optimization", "proposal", "react", "stacker", "typescript"] }
- compat = swc_ecma_transforms_compat
- concurrent
-
Enables concurrent of swc_ecma_transforms_compat, swc_ecma_transforms_optimization, and swc_ecma_transforms_react
- module = swc_ecma_transforms_module
- multi-module-decorator
-
Enables multi-module of swc_ecma_transforms_proposal
- optimization = swc_ecma_transforms_optimization
- proposal = swc_ecma_transforms_proposal
- react = swc_ecma_transforms_react
- stacker
-
Enables stacker of swc_ecma_utils
- typescript = swc_ecma_transforms_typescript
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.