js_to_oxc
js_to_oxc copied to clipboard
Rust code will not be formatted if the js source code is long
async function test() {
let { b } = await __vitePreload(async () => { const { b } = await import('./lib-!~{002}~.js');return { b }},true?__VITE_PRELOAD__:void 0);
}
try this snippet in playground.
This is intentional because the the rust formatter is loaded as wasm and somehow very very slow when the generated rust code is very long.