Cargo Features

swc_ecma_transforms has no features set by default.

[dependencies]
swc_ecma_transforms = { version = "6.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.

swc_ecma_transforms_compat compat? concurrent?
swc_ecma_transforms_module module?
swc_ecma_transforms_optimization concurrent? optimization?
swc_ecma_transforms_proposal multi-module-decorator? proposal?
swc_ecma_transforms_react concurrent? react?
swc_ecma_transforms_typescript typescript?