debug.ts
1// Compile-time debug flag. Vite's `define` folds __PEACH_DEBUG__ to false in2// production builds, so the debug() export becomes a no-op and is tree-shaken3// away. Existing console.* calls will be migrated to this helper over time.4declare const __PEACH_DEBUG__: boolean;56export const debug = __PEACH_DEBUG__7 ? (...args: unknown[]) => console.info("[Peach]", ...args)8 : () => {};