mirror of
https://github.com/hanzoai/babel.git
synced 2026-09-24 16:56:45 +00:00
2 lines
260 B
JavaScript
2 lines
260 B
JavaScript
const s = await (typeof process === "object" && process.versions?.node ? import("fs").then(fs => fs.promises.readFile(new URL(import.meta.resolve("./x.wasm")))).then(WebAssembly.compile) : WebAssembly.compileStreaming(fetch(import.meta.resolve("./x.wasm"))));
|