swc_plugin_runner

Function create_plugin_transform_executor

source
pub fn create_plugin_transform_executor(
    source_map: &Arc<SourceMap>,
    unresolved_mark: &Mark,
    metadata_context: &Arc<TransformPluginMetadataContext>,
    plugin_module: Box<dyn PluginModuleBytes>,
    plugin_config: Option<Value>,
    runtime: Option<()>,
) -> TransformExecutor