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>, }
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
.
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
type Output = T
type Output = T
Should always be Self