Struct swc_ecma_transforms_react::Options [−][src]
pub struct Options {
    pub next: bool,
    pub runtime: Option<Runtime>,
    pub import_source: String,
    pub pragma: String,
    pub pragma_frag: String,
    pub throw_if_namespace: bool,
    pub development: bool,
    pub use_builtins: bool,
    pub use_spread: bool,
    pub refresh: Option<RefreshOptions>,
}Fields
next: boolIf this is true, swc will behave just like babel 8 with
BABEL_8_BREAKING: true.
runtime: Option<Runtime>import_source: StringFor automatic runtime
pragma: Stringpragma_frag: Stringthrow_if_namespace: booldevelopment: booluse_builtins: boolTODO: Remove this field.
use_spread: boolrefresh: Option<RefreshOptions>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 Options
impl UnwindSafe for Options
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key and return true if they are equal.
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