Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/okikio/bundlejs-api.
Something went wrong. Try again.
1234567891011121314/** * `@bundle/core`'s supported platforms */export type Platform = "node" | "deno" | "browser" | "edge" | "cloudflare" | "wasm" | "deno-wasm";
/** * Automatically chooses the esbuild version to run based off platform heuristics, * e.g. * - The environment is deno if it supports `globalThis.Deno` * - The environment is node if it supports `globalThis.process` * - Otherwise the environment is the browser * */export const PLATFORM_AUTO: Platform = ("Deno" in globalThis) ? "deno" : ("process" in globalThis) ? "node" : "browser";