-
Notifications
You must be signed in to change notification settings - Fork 5
/
tsconfig.json
18 lines (18 loc) · 931 Bytes
/
tsconfig.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{
"compilerOptions": {
"module": "ESNext", // Ideal for Rollup's ES module support
"target": "ES6", // Compile to ES6
"lib": ["dom", "dom.iterable", "esnext"], // Specify libraries
"jsx": "react-jsx", // For React projects
"moduleResolution": "node", // Use Node.js module resolution
"esModuleInterop": true, // Enables ESModule interop
"skipLibCheck": true, // Skip type checking of declaration files
"forceConsistentCasingInFileNames": true, // Force file name casing to be consistent
"outDir": "./dist", // Output directory for compiled files
"declaration": true, // Generate corresponding '.d.ts' file
"declarationDir": "./dist/types", // Directory for declaration files
"sourceMap": true // Generate source maps for debugging
},
"include": ["src/**/*"], // Include all files in src
"exclude": ["node_modules", "dist"] // Exclude node_modules and dist from compilation
}