Struct swc::config::Options [−][src]
pub struct Options {Show 19 fields
pub config: Config,
pub skip_helper_injection: bool,
pub disable_hygiene: bool,
pub disable_fixer: bool,
pub global_mark: Option<Mark>,
pub cwd: PathBuf,
pub caller: Option<CallerOptions>,
pub filename: String,
pub config_file: Option<ConfigFile>,
pub root: Option<PathBuf>,
pub root_mode: RootMode,
pub swcrc: bool,
pub swcrc_roots: Option<PathBuf>,
pub env_name: String,
pub source_maps: Option<SourceMapsConfig>,
pub source_file_name: Option<String>,
pub source_root: Option<String>,
pub is_module: bool,
pub output_path: Option<PathBuf>,
}
Fields
config: Config
skip_helper_injection: bool
disable_hygiene: bool
disable_fixer: bool
global_mark: Option<Mark>
cwd: PathBuf
caller: Option<CallerOptions>
filename: String
config_file: Option<ConfigFile>
root: Option<PathBuf>
root_mode: RootMode
swcrc: bool
swcrc_roots: Option<PathBuf>
env_name: String
source_maps: Option<SourceMapsConfig>
source_file_name: Option<String>
source_root: Option<String>
is_module: bool
output_path: Option<PathBuf>
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 Options
impl UnwindSafe for Options
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self