/** * Development flag. * * Unreplaced (dev server, `bun test`, `bun run x.ts`) `__DEV__` is undefined, * so `DEV` is true and every message is intact with no configuration. A release * build passes `define: { __DEV__: "false" }` (see scripts/release.ts); Bun * folds the constant and the Terser pass collapses the dead branches, deleting * the diagnostics while leaving the behaviour in place. * * So dev-only assertions are free in release: prefer adding one over leaving a * misuse undiagnosed. * * This file is a copy of pebble's packages/invokers/dev.ts — a component * package is dependency-free beyond pebble itself, so the pattern is * duplicated, not shared. */ declare const __DEV__: boolean | undefined; export const DEV = typeof __DEV__ === "undefined" || __DEV__;