{"version":3,"file":"index.cjs","names":[],"sources":["../../src/index.ts"],"sourcesContent":["import { EventClient as EventClientImpl } from './plugin'\nimport { EventClientNoOp } from './noop'\n\n/**\n * The real `EventClient` in development; a no-op everywhere else.\n *\n * Production bundlers replace `process.env.NODE_ENV` with a literal, fold this\n * ternary to `EventClientNoOp`, and tree-shake `./plugin` out of the bundle.\n * To keep the real client in production, import it from\n * `@tanstack/devtools-event-client/production` instead.\n */\nconst EventClient = (process.env.NODE_ENV !== 'development'\n  ? EventClientNoOp\n  : EventClientImpl) as unknown as typeof EventClientImpl\n\ntype EventClient<TEventMap extends Record<string, any>> =\n  EventClientImpl<TEventMap>\n\nexport { EventClient }\n"],"mappings":";;;;;;;;;;;;AAWA,IAAM,cAAA,QAAA,IAAA,aAAwC,gBAC1C,aAAA,kBACA,eAAA"}