Struct swc::config::BuiltConfig[][src]

pub struct BuiltConfig<P: Fold> {
    pub pass: P,
    pub syntax: Syntax,
    pub target: JscTarget,
    pub minify: bool,
    pub external_helpers: bool,
    pub source_maps: SourceMapsConfig,
    pub input_source_map: InputSourceMap,
    pub is_module: bool,
}
Expand description

One BuiltConfig per a directory with swcrc

Fields

pass: Psyntax: Syntaxtarget: JscTargetminify: boolexternal_helpers: boolsource_maps: SourceMapsConfiginput_source_map: InputSourceMapis_module: bool

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.