Changed moduleResolution from 'bundler' to 'node', added global types for Cloudflare Workers and Vitest, and simplified the include paths. This improves compatibility with Node.js tooling and test environments.
17 lines
445 B
JSON
17 lines
445 B
JSON
{
|
|
"compilerOptions": {
|
|
"allowJs": true,
|
|
"checkJs": true,
|
|
"esModuleInterop": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"module": "ESNext",
|
|
"moduleResolution": "node",
|
|
"noEmit": true,
|
|
"skipLibCheck": true,
|
|
"strict": true,
|
|
"target": "ES2022",
|
|
"types": ["@cloudflare/workers-types", "vitest/globals"]
|
|
},
|
|
"exclude": ["node_modules", "dist", "coverage"],
|
|
"include": ["src/**/*", "test/**/*"]
|
|
} |