Optimize Transform

This commit is contained in:
2024-01-10 23:00:30 +08:00
parent 71052009ae
commit 309d5892c7
7 changed files with 111 additions and 107 deletions

View File

@@ -9,9 +9,7 @@ class Compiler {
void esbuild.initialize({ worker: true, wasmURL: wasm }).then(() => {
this.init = true
})
} catch (e) {
throw e
}
} catch (e) {}
}
transform = (code: string, loader: Loader) =>