Skip to main content

Crate rolldown_error

Crate rolldown_error 

Source

Structs§

AmbiguousExternalNamespaceModule
BatchedBuildDiagnostic
BuildDiagnostic
BundlerInitializeError
CausedPlugin
DiagnosableResolveError
Diagnostic
DiagnosticOptions
DiagnosticPrimaryLocation
Primary source location of a diagnostic’s first label.
Diagnostics
A mixed-severity diagnostic accumulator.
EventKindSwitcher
ExternalModuleConflictImporter
This struct holds the import that causes the conflict. The import resolves the module id to the other kind (external or not external).
ImportChainNote
NamespaceConflictExporter
PluginTiming
What one callback cost, measured inside it on the JavaScript side.
PluginTimings
PluginTimingsMeasurement
One build’s worth of JavaScript-side measurement.
RenderedDiagnostic
A diagnostic rendered to its display string together with its primary location.
RequireTla
UnloadableDependencyContext

Enums§

CjsExportSpan
Only record start offset for efficiency and simplicity
DiagnosableArcstr
Specifier text for a resolve diagnostic, with an optional source span for the label.
EmptyImportMetaKind
What produced the empty import.meta a warning is being raised about.
EventKind
InvalidImportAttributeKind
InvalidOptionType
PluginTimingKind
The location where the user configured a measured callback. The report uses this value to distinguish plugins, input options, and output options.
Severity

Traits§

ResultExt

Functions§

consolidate_diagnostics
Consolidates diagnostics by merging those that can be grouped together.
downcast_napi_error_diagnostics
filter_out_disabled_diagnostics
resolve_error_to_message
Converts an oxc resolver error to a human-readable error message.
stderr_supports_color
Diagnostics reach users through stderr (rolldown CLI and Vite print errors and warnings there).

Type Aliases§

BuildResult
SingleBuildResult