Skip to main content

convert_module

Function convert_module 

Source
pub fn convert_module(module: &Module, source_text: &str) -> File
Expand description

Converts an SWC Module AST to the React compiler’s Babel-compatible AST.