swc_plugin_runner::plugin_module_bytes

Trait PluginModuleBytes

source
pub trait PluginModuleBytes {
    // Required methods
    fn get_module_name(&self) -> &str;
    fn compile_module(&self) -> Result<(Store, Module), Error>;
}

Required Methods§

source

fn get_module_name(&self) -> &str

source

fn compile_module(&self) -> Result<(Store, Module), Error>

Implementors§