Struct swc::config::BuiltInput[][src]

pub struct BuiltInput<P: Fold> {
Show 13 fields pub program: Program, pub pass: P, pub syntax: Syntax, pub target: EsVersion, pub minify: bool, pub external_helpers: bool, pub source_maps: SourceMapsConfig, pub input_source_map: InputSourceMap, pub is_module: IsModule, pub output_path: Option<PathBuf>, pub source_file_name: Option<String>, pub preserve_comments: Option<BoolOrObject<JsMinifyCommentOption>>, pub inline_sources_content: bool,
}
Expand description

One BuiltConfig per a directory with swcrc

Fields

program: Programpass: Psyntax: Syntaxtarget: EsVersionminify: bool

Minification for codegen. Minifier transforms will be inserted into pass.

external_helpers: boolsource_maps: SourceMapsConfiginput_source_map: InputSourceMapis_module: IsModuleoutput_path: Option<PathBuf>source_file_name: Option<String>preserve_comments: Option<BoolOrObject<JsMinifyCommentOption>>inline_sources_content: 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.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

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.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more