UNPKG

rolldown

Version:

Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.

17 lines (15 loc) 502 B
import { n as __toESM, t as require_binding } from "./shared/binding-DOZoR4bu.mjs"; //#region src/cli/setup-index.ts var import_binding = /* @__PURE__ */ __toESM(require_binding(), 1); let isWatchMode = false; for (let i = 0; i < process.argv.length; i++) { const arg = process.argv[i]; if (arg === "--watch" || arg === "-w") { isWatchMode = true; break; } } if (isWatchMode) (0, import_binding.createTokioRuntime)(32); else (0, import_binding.createTokioRuntime)(4); //#endregion export { };