Struct swc::config::JscConfig [−][src]
pub struct JscConfig {
pub syntax: Option<Syntax>,
pub transform: Option<TransformConfig>,
pub external_helpers: bool,
pub target: Option<JscTarget>,
pub loose: bool,
pub keep_class_names: bool,
pub base_url: PathBuf,
pub paths: Paths,
pub minify: Option<JsMinifyOptions>,
pub experimental: JscExperimental,
}
Expand description
jsc
in .swcrc
.
Fields
syntax: Option<Syntax>
transform: Option<TransformConfig>
external_helpers: bool
target: Option<JscTarget>
loose: bool
keep_class_names: bool
base_url: PathBuf
paths: Paths
minify: Option<JsMinifyOptions>
experimental: JscExperimental
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 JscConfig
impl UnwindSafe for JscConfig
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self