-
Notifications
You must be signed in to change notification settings - Fork 1
/
tsconfig.json
39 lines (39 loc) · 1.61 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
{
"compilerOptions": {
"target": "ES2022",
"module": "node16",
"lib": ["dom", "dom.iterable", "esnext"],
"moduleResolution": "node16",
"declaration": true,
"declarationMap": true,
//"emitDeclarationOnly": true,
//"declarationDir": "./dist/types",
//"allowImportingTsExtensions": true,
"noEmit": false,
"allowJs": true,
"skipLibCheck": true,
"strict": true,
"forceConsistentCasingInFileNames": true,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"resolveJsonModule": true,
"isolatedModules": true, // Consider setting to false unless needed for transpilation reasons
"jsx": "react-jsx",
"incremental": false,
"outDir": "./dist", // Output directory for build files
"rootDir": "./src", // Source directory for build files
"sourceMap": true,
"inlineSourceMap": false,
"inlineSources": true,
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"useDefineForClassFields": false,
"plugins": [
{ "transform": "typescript-transform-paths" },
{ "transform": "typescript-transform-paths", "afterDeclarations": true }
]
},
"composite": true, // Enable project references
"include": ["next-env.d.ts", "jest.config.js", "src/**/*.ts", "src/**/*.tsx", ".next/types/**/*.ts"],
"exclude": ["node_modules", "_OLD", "example", "dist", "src/**/_OLD/*", "**/*.test.ts", "**/*.spec.ts", "**/__tests__/**", "jest.config.js", "jest.config.ts", "*.config.js"]
}