diff --git a/tsconfig.build.json b/tsconfig.build.json index b36d91b..7b70972 100644 --- a/tsconfig.build.json +++ b/tsconfig.build.json @@ -1,8 +1,10 @@ { "extends": "./tsconfig.json", "compilerOptions": { - "rootDir": "./src" + "rootDir": "./src", + // Override parent's types to exclude test-related types for production builds + "types": ["node"] }, "include": ["src/**/*"], - "exclude": ["node_modules", "dist", "**/*.test.ts", "**/*.spec.ts", "tests"] + "exclude": ["node_modules", "dist", "**/*.test.ts", "**/*.spec.ts", "tests", "types", "**/types"] } \ No newline at end of file