-
Notifications
You must be signed in to change notification settings - Fork 35
Expand file tree
/
Copy pathtsconfig.json
More file actions
15 lines (15 loc) · 831 Bytes
/
tsconfig.json
File metadata and controls
15 lines (15 loc) · 831 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{
"compilerOptions": {
"target": "ESNext", // or another target appropriate for Netlify's Node.js version
"module": "NodeNext", // for Node.js compatibility
"moduleResolution": "NodeNext",
"outDir": "./built", // where to output JS files
"rootDir": "./", // where your TS files are located
"strict": false, // enables strict type-checking options
"esModuleInterop": true, // allows default imports from modules with no default export
"skipLibCheck": true, // skips type checking of all declaration files (*.d.ts)
"forceConsistentCasingInFileNames": true // ensures case matches between imports and files
},
"include": ["api/**/*.ts", "modules/**/*.ts", "src/**/*.ts"], // specify the files to be included
"exclude": ["node_modules", "public", "built"] // specify the folders to exclude
}