mirror of
https://github.com/hanzoai/babel.git
synced 2026-09-24 16:56:45 +00:00
4 lines
272 B
JavaScript
4 lines
272 B
JavaScript
const ns = await (typeof process === "object" && process.versions?.node ? import("fs").then(fs => fs.promises.readFile(new URL(import.meta.resolve("./x.json")))).then(JSON.parse) : fetch(import.meta.resolve("./x.json")).then(r => r.json())).then(j => ({
|
|
default: j
|
|
}));
|