Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

687 B
Raw Blame
import { defineConfig } from "tsup";

export default defineConfig({
  entry: [
    "src/index.ts",
    "src/analytics-events.ts",
    "src/announcements.ts",
    "src/constants.ts",
    "src/deeplink.ts",
    "src/dismissalReasons.ts",
    "src/domain-types.ts",
    "src/schemas.ts",
    "src/hoggies.ts",
    "src/mcp-sandbox-proxy.ts",
    "src/model-catalog.ts",
    "src/posthog-property-headers.ts",
    "src/product-engineer-prompt.ts",
    "src/rich-output-prompt.ts",
    "src/screenshot-area.ts",
    "src/task-context.ts",
    "src/types.ts",
  ],
  format: ["esm"],
  dts: true,
  sourcemap: true,
  clean: true,
  splitting: false,
  outDir: "dist",
  target: "node20",
});