Crate turbopack_ecmascript

Crate turbopack_ecmascript 

Source

Re-exports§

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

Modules§

analyzer
annotations
async_chunk
chunk
code_gen
inlined_bytes_module
magic_identifier
manifest
minify
parse
references
resolve
runtime_functions
side_effect_optimization
source_map
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
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§

AnalyzeMode
EcmascriptInputTransform
EcmascriptModuleAssetType
ScopeHoistingContext
Provides information about the other modules in the current scope hoisting group.
SpecifiedModuleType
TreeShakingMode
TypeofWindow
The constant to replace typeof window with.

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
EcmascriptAnalyzableExt
EcmascriptParsable