Skip to main content

Crate turbopack_ecmascript

Crate turbopack_ecmascript 

Source

Re-exports§

pub use crate::references::AnalyzeEcmascriptModuleResult;
pub use crate::references::TURBOPACK_HELPER;
pub use crate::transform::CustomTransformer;
pub use crate::transform::EcmascriptInputTransform;
pub use crate::transform::EcmascriptInputTransforms;
pub use crate::transform::TransformContext;
pub use crate::transform::TransformPlugin;

Modules§

analyzer
annotations
async_chunk
bytes_source_transform
chunk
code_gen
json_source_transform
magic_identifier
manifest
minify
parse
references
rename
runtime_functions
side_effect_optimization
single_file_ecmascript_output
source_map
text
text_source_transform
transform
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§

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.

Enums§

AnalyzeMode
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§

EcmascriptAnalyzable
EcmascriptAnalyzableExt
EcmascriptParsable