Crate turbopack_ecmascript

Source

Re-exports§

pub use references::AnalyzeEcmascriptModuleResult;
pub use references::TURBOPACK_HELPER;

Modules§

analyzer
annotations
async_chunk
chunk
code_gen
magic_identifier
manifest
minify
parse
references
resolve
runtime_functions
side_effect_optimization
text
tree_shake
typescript
utils
webpack
worker_chunk

Macros§

create_visitor
Creates a single-method visitor that will visit the AST nodes matching the provided path.

Structs§

EcmascriptInputTransforms
This is a transparent value type wrapping Vec<EcmascriptInputTransform>.
EcmascriptModuleAsset
EcmascriptModuleAssetBuilder
EcmascriptModuleContent
The transformed contents of an Ecmascript module.
EcmascriptModuleContentOptions
EcmascriptOptions
OptionTreeShaking
This is a transparent value type wrapping Option<TreeShakingMode>.
StaticEcmascriptCode
Static ECMAScript file code, to be used as part of some code.
TransformContext
TransformPlugin
A wrapper around a TransformPlugin instance, allowing it to operate with the turbo_task caching requirements.

Enums§

EcmascriptInputTransform
EcmascriptModuleAssetType
ScopeHoistingContext
Provides information about the other modules in the current scope hoisting group.
SpecifiedModuleType
TreeShakingMode

Traits§

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

Functions§

register