Struct swc::config::Config [−][src]
pub struct Config {
pub env: Option<Config>,
pub test: Option<FileMatcher>,
pub exclude: Option<FileMatcher>,
pub jsc: JscConfig,
pub module: Option<ModuleConfig>,
pub minify: bool,
pub input_source_map: InputSourceMap,
pub source_maps: Option<SourceMapsConfig>,
pub inline_sources_content: bool,
pub error: ErrorConfig,
}
Expand description
A single object in the .swcrc
file
Fields
env: Option<Config>
test: Option<FileMatcher>
exclude: Option<FileMatcher>
jsc: JscConfig
module: Option<ModuleConfig>
minify: bool
input_source_map: InputSourceMap
source_maps: Option<SourceMapsConfig>
Possible values are: 'inline'
, true
, false
.
inline_sources_content: bool
error: ErrorConfig
Implementations
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Config
impl UnwindSafe for Config
Blanket Implementations
Mutably borrows from an owned value. Read more
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