Skip to main content

emit

Function emit 

Source
pub fn emit(module: &Module) -> String
Expand description

Emit an SWC Module to a string via swc_ecma_codegen. If transform was called on the same thread, any comments from the compiled AST are automatically included.