Struct swc::config::JscExperimental
source · [−]pub struct JscExperimental {
pub plugins: Option<Vec<PluginConfig>>,
pub keep_import_assertions: bool,
pub cache_root: Option<String>,
}
Expand description
jsc.experimental
in .swcrc
Fields
plugins: Option<Vec<PluginConfig>>
This requires cargo feature plugin
.
keep_import_assertions: bool
If true, keeps import assertions in the output.
cache_root: Option<String>
Location where swc may stores its intermediate cache. Currently this is only being used for wasm plugin’s bytecache. Path should be absolute directory, which will be created if not exist. This configuration behavior can change anytime under experimental flag and will not be considered as breaking changes.
Trait Implementations
Returns the “default value” for a type. Read more
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 JscExperimental
impl Send for JscExperimental
impl Sync for JscExperimental
impl Unpin for JscExperimental
impl UnwindSafe for JscExperimental
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