-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
17 lines (16 loc) · 1.05 KB
/
tsconfig.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{
"compilerOptions": {
"target": "ES6", // Target ECMAScript version
"module": "ES6", // Use ES6 modules
"declaration": true, // Generate declaration files (.d.ts)
"outDir": "./dist", // Output folder for compiled JavaScript
"strict": true, // Enable strict type-checking options
"esModuleInterop": true, // Compatibility with CommonJS modules
"forceConsistentCasingInFileNames": true, // Enforce consistent file naming
"moduleResolution": "node", // Resolve module imports
"isolatedModules": true, // Ensure each file can be safely transpiled
"resolveJsonModule": true // Enable importing .json files
},
"include": ["src"], // Include all files from the 'src' folder
"exclude": ["node_modules", "dist"] // Exclude the 'node_modules' and 'dist' folders
}