Re-exports§
pub use rolldown_plugin as plugin;
Structs§
- Bundle
- Bundle
Factory - Bundle
Factory Options - Bundle
Handle - A lightweight handle to access bundle state after the
Bundlehas been consumed. - Bundle
Output - Bundler
- Bundler
Builder - Bundler
Config - Configuration for creating a bundler instance.
This is used by APIs like
Watcherto construct bundlers internally. - Bundler
Options - Bundler
Transform Options - Checks
Options - Chunk
Import Map - Chunk
Optimization Options - Chunking
Context - Comments
Options - Resolved comments options with explicit boolean flags.
- Compiler
Assumptions - Decorator
Options - Defer
Sync Scan Data Option - Depended
Runtime Helper Map - Maps each single-bit
RuntimeHelperto theStmtInfoIdxs that depend on it. - DevMode
Options - Devtools
Options - Enhanced
Transform Options - Options for enhanced transform operations.
This is separate from
TransformOptionsto provide a clear API boundary for the enhanced transform use case. - Enhanced
Transform Result - Result of an enhanced transform operation.
- Experimental
Options - Filename
Template - Generated
Code Options - Inline
Const Config - Inner
Options - Input
Item - Invalidate
JsSide Cache - Isolated
Declarations Options - JsxOptions
- Log
- LogLocation
- LogWithout
Plugin - Manual
Code Splitting Options - Match
Group - Module
Side Effects Rule - Normalized
Bundler Options - OnInvalidate
- OnLog
- Optimization
Option - Plugins
Options - RawCompress
Options - RawMangle
Options - RawMinify
Options Detailed - RawTransform
Options - Transform options with auto tsconfig discovery and caching
- React
Refresh Options - Resolve
Options - A simple wrapper around
oxc_resolver::ResolveOptionsto make it easier to use in therolldown_resolvercrate. See oxc_resolver::ResolveOptions for more information. - Runtime
Helper - Source
MapPath Transform - Styled
Components Options - Transform
Options - Type
Script Options - Watch
Option
Enums§
- Addon
Output Option - Asset
Filenames Output Option - Attach
Debug Info - Chunk
Filenames Output Option - Chunk
Modules Order By - Chunk
Optimization Option - Code
Splitting Mode - Controls how code splitting is performed.
- ESTarget
- Either
- The enum
Eitherwith variantsLeftandRightis a general purpose sum type with two cases. - EsModule
Flag - This configuration determines how the bundler should handle the synthetic
__esModuleproperty in the CJS and IIFE format. It is rollup-capable, and the rollup default isIfDefaultProp. You may find rollup explanation here. - Globals
Output Option - Hash
Characters - Inject
Import - Usage
- Inline
Const Mode - Inline
Const Option - IsExternal
- JsxPreset
- Legal
Comments - LogLevel
- Make
Absolute Externals Relative - Match
Group Name - Match
Group Test - Minify
Options - Module
Side Effects - Module
Type - Output
Exports - Output
Format - Paths
Output Option - Platform
- Preserve
Entry Signatures - Property
Read Side Effects - Property
Write Side Effects - RawMinify
Options - Sanitize
Filename - Source
MapIgnore List - Source
MapType - Strict
Mode - Controls whether
"use strict"is emitted in the output. - Transform
Options Inner - Treeshake
Options - TsConfig
- Tsconfig
Option - Tsconfig option for enhanced transform.
Constants§
Functions§
- enhanced_
transform - Transform source code using the internal Oxc parser and transformer.
- is_
path_ fragment - Check if a string is a path fragment (absolute or relative path). Patterns can be neither absolute nor relative paths.
- merge_
transform_ options_ with_ tsconfig - merge_
tsconfig - Merge transform options with tsconfig compiler options.
- normalize_
optimization_ option