Skip to main content

Module transform

Module transform 

Source

Structs§

EcmascriptInputTransforms
This is a transparent value type wrapping Vec<EcmascriptInputTransform>.
PresetEnvConfig
Additional options for SWC’s preset-env, beyond the browserslist-derived targets that are already provided by the Environment.
TransformContext
TransformPlugin
This is a transparent value type wrapping Box<dyn CustomTransformer+Send+Sync>. A wrapper around a TransformPlugin instance, allowing it to operate with the turbo_task caching requirements.

Enums§

EcmascriptInputTransform

Traits§

CustomTransformer
The CustomTransformer trait allows you to implement your own custom SWC transformer to run over all ECMAScript files imported in the graph.

Functions§

remove_directives
remove_shebang