Re-exports§
pub use crate::references::AnalyzeEcmascriptModuleResult;pub use crate::references::TURBOPACK_HELPER;
Modules§
- analyzer
- annotations
- async_
chunk - chunk
- code_
gen - inlined_
bytes_ module - magic_
identifier - manifest
- minify
- parse
- references
- runtime_
functions - side_
effect_ optimization - single_
file_ ecmascript_ output - 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§
- Ecmascript
Input Transforms - This is a transparent value type wrapping
Vec<EcmascriptInputTransform>. - Ecmascript
Module Asset - Ecmascript
Module Asset Builder - Ecmascript
Module Content - The transformed contents of an Ecmascript module.
- Ecmascript
Module Content Options - Ecmascript
Options - Option
Tree Shaking - This is a transparent value type wrapping
Option<TreeShakingMode>. - Static
Ecmascript Code - Static ECMAScript file code, to be used as part of some code.
- Transform
Context - Transform
Plugin - 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§
- Analyze
Mode - Ecmascript
Input Transform - Ecmascript
Module Asset Type - Scope
Hoisting Context - Provides information about the other modules in the current scope hoisting group.
- Specified
Module Type - Tree
Shaking Mode - Typeof
Window - The constant to replace
typeof windowwith.
Traits§
- Custom
Transformer - The CustomTransformer trait allows you to implement your own custom SWC transformer to run over all ECMAScript files imported in the graph.
- Ecmascript
Analyzable - Ecmascript
Analyzable Ext - Ecmascript
Parsable