-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathtsconfig.json
More file actions
28 lines (28 loc) · 779 Bytes
/
Copy pathtsconfig.json
File metadata and controls
28 lines (28 loc) · 779 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{
"extends": "astro/tsconfigs/strict",
"compilerOptions": {
"strictNullChecks": true,
// Enable top-level await, and other modern ESM features.
"target": "ESNext",
"module": "ESNext",
// Enable bundler-style module resolution for modern package exports
"moduleResolution": "bundler",
// Enable JSON imports.
"resolveJsonModule": true,
// Enable stricter transpilation for better output.
"isolatedModules": true,
// Astro will directly run your TypeScript code, no transpilation needed.
"noEmit": true,
"baseUrl": ".",
"paths": {
"@/*": ["src/*"]
}
},
"include": [
".astro/types.d.ts",
"src/**/*",
"scripts/**/*",
"astro.config.mjs"
],
"exclude": ["node_modules", "dist", "packages"]
}