- Install @types/node for node:path, node:process, node:url - Import defineConfig from vitest/config for test config type - Add types: ["node"] to tsconfig.json Co-authored-by: Cursor <cursoragent@cursor.com>
22 lines
520 B
JSON
22 lines
520 B
JSON
{
|
|
"compilerOptions": {
|
|
"allowJs": true,
|
|
"checkJs": true,
|
|
"esModuleInterop": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"resolveJsonModule": true,
|
|
"skipLibCheck": true,
|
|
"sourceMap": true,
|
|
"strict": true,
|
|
"moduleResolution": "bundler",
|
|
"module": "ESNext",
|
|
"target": "ESNext",
|
|
"isolatedModules": true,
|
|
"types": ["node"],
|
|
"paths": {
|
|
"$lib/*": ["./src/lib/*"]
|
|
}
|
|
},
|
|
"include": ["src/**/*.ts", "src/**/*.svelte", "tests/**/*.ts", "vite.config.ts"]
|
|
}
|