forklaunch 1.15.0

Launch faster with forklaunch
1
2
3
4
5
6
7
8
use oxc_codegen::{Codegen, CodegenOptions};

pub(crate) fn write_ast_program(program: &oxc_ast::ast::Program<'_>) -> String {
    Codegen::new()
        .with_options(CodegenOptions::default())
        .build(program)
        .code
}