forked from neamm/auto.fun
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtsconfig.base.json
More file actions
19 lines (19 loc) · 809 Bytes
/
tsconfig.base.json
File metadata and controls
19 lines (19 loc) · 809 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{
"compilerOptions": {
// Base options suitable for most packages
"target": "ES2020",
"module": "ESNext", // Prefer ESNext for modern tooling (Vite, etc.)
"moduleResolution": "bundler", // Recommended for modern Node/Bundlers
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"strict": true,
"skipLibCheck": true,
"jsx": "react-jsx", // Common setting for React/Preact
"declaration": true, // Generate .d.ts files
"declarationMap": true, // Generate sourcemaps for .d.ts
"sourceMap": true, // Generate .js.map files
"composite": false, // Enable project references/incremental builds
"noEmit": true, // Prevent base config from emitting files directly
"isolatedModules": true // Ensure files can be transpiled independently
}
}