pub enum PluginIR {
CSS {
preprocessor: Option<CSSPreprocessor>,
postprocessor: Option<String>,
modules: bool,
},
TypeScript {
config_path: Option<String>,
transpile_only: bool,
},
React {
runtime: ReactRuntime,
fast_refresh: bool,
},
BundleAnalyzer {
open_analyzer: bool,
generate_stats_file: bool,
},
PWA {
service_worker: bool,
manifest: bool,
},
Custom {
name: String,
config: Properties,
},
}
Expand description
プラグインIR
Variants§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PluginIR
impl<'de> Deserialize<'de> for PluginIR
Source§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
impl StructuralPartialEq for PluginIR
Auto Trait Implementations§
impl Freeze for PluginIR
impl RefUnwindSafe for PluginIR
impl Send for PluginIR
impl Sync for PluginIR
impl Unpin for PluginIR
impl UnwindSafe for PluginIR
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more