site-library/tsconfig.json
2025-03-19 23:18:13 +01:00

28 lines
886 B
JSON

{
"compilerOptions": {
"strictNullChecks": true,
// Enable top-level await, and other modern ESM features.
"target": "ESNext",
"allowJs": true,
"module": "NodeNext",
"moduleResolution": "nodenext",
"jsx": "react",
// Enable node-style module resolution, for things like npm package imports.
// Enable stricter transpilation for better output.
"isolatedModules": true,
// Astro will directly run your TypeScript code, no transpilation needed.
"noEmit": true,
"esModuleInterop": true,
"skipLibCheck": true,
"baseUrl": ".",
"lib": ["DOM", "ES2015"],
"resolveJsonModule": true,
"paths": {
"@/*": ["src/*"],
"site/*": ["src/*"],
"config/*": ["src/config/*"]
}
},
"include": [".astro/types.d.ts", "**/*.ts", "**/*.tsx", "**/*.astro"],
}