forked from baptadn/photoshot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.json
47 lines (47 loc) · 1.31 KB
/
tsconfig.json
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
{
// Compiler options configuration
"compilerOptions": {
// Target ECMAScript version
"target": "es5",
// Available libraries
"lib": ["dom", "dom.iterable", "esnext"],
// Allow JavaScript files
"allowJs": true,
// Skip type checking of declaration files
"skipLibCheck": true,
// Enable strict mode
"strict": true,
// Ensure consistent casing in file names
"forceConsistentCasingInFileNames": true,
// Do not emit output files
"noEmit": true,
// Enable interoperability between CommonJS and ES6 modules
"esModuleInterop": true,
// Module system
"module": "esnext",
// Module resolution strategy
"moduleResolution": "node",
// Enable resolving JSON module imports
"resolveJsonModule": true,
// Treat each file as a separate module
"isolatedModules": true,
// JSX handling mode
"jsx": "preserve",
// Enable incremental compilation
"incremental": true,
// Path mapping for module resolution
"paths": {
"@/*": ["./src/*"]
},
// Compiler plugins
"plugins": [
{
"name": "next"
}
]
},
// Files to include in compilation
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
// Directories/files to exclude from compilation
"exclude": ["node_modules"]
}