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.

1.2 KB
Raw Blame
{
    "compilerOptions": {
        "target": "ES2020", // Target a recent version of ECMAScript.
        "module": "nodenext", // Module format inferred from package.json `type` (CJS when absent).
        "outDir": "./dist", // Output directory for the compiled JavaScript files.
        "rootDir": "./src", // TS 6.0 requires explicit rootDir when outDir is set (TS5011).
        "strict": true, // Enable all strict type-checking options.
        "esModuleInterop": true, // Allows default imports from modules with no default export.
        "skipLibCheck": true, // Skip type checking of declaration files.
        "forceConsistentCasingInFileNames": true, // Disallow inconsistently-cased references to the same file.
        "resolveJsonModule": true, // Allow importing .json files as modules.
        "moduleResolution": "nodenext", // Use Node.js-style module resolution.
        "types": ["node"]
    },
    "include": [
        "src/**/*.ts", // Include all TypeScript files in the 'src' directory and its subdirectories.
        "src/**/*.tsx" // Include all TSX files, if you have any.
    ],
    "exclude": [
        "node_modules" // Exclude node_modules from the compilation.
    ]
}