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.

477 B
Raw Blame
import { build } from 'esbuild'

import { copyInstructions } from './copy-instructions'
import { honoEsbuildOptions, honoOutfile } from './hono-esbuild-config'

// Populate `shared/guidelines.md` so esbuild can inline it via `@shared/*`.
copyInstructions()

build(honoEsbuildOptions())
    .then(() => {
        console.info(`Built MCP server → ${honoOutfile}`)
    })
    .catch((err: unknown) => {
        console.error('Build failed:', err)
        process.exit(1)
    })