Skip to content

Commit 5dc63a7

Browse files
committed
⚡️ perf: more interoperable with various module systems
1 parent 87b779a commit 5dc63a7

File tree

1 file changed

+19
-6
lines changed

1 file changed

+19
-6
lines changed

tsconfig.app.json

Lines changed: 19 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,33 @@
55
"lib": ["ES2020", "DOM", "DOM.Iterable"],
66
"module": "ESNext",
77
"skipLibCheck": true,
8-
9-
/* Bundler mode */
108
"moduleResolution": "bundler",
119
"allowImportingTsExtensions": true,
1210
"isolatedModules": true,
1311
"moduleDetection": "force",
1412
"noEmit": true,
1513
"jsx": "react-jsx",
16-
17-
/* Linting */
1814
"strict": true,
1915
"noUnusedLocals": true,
2016
"noUnusedParameters": true,
21-
"noFallthroughCasesInSwitch": true
17+
"noFallthroughCasesInSwitch": true,
18+
"resolveJsonModule": true,
19+
"esModuleInterop": true,
20+
"skipDefaultLibCheck": true,
21+
"allowSyntheticDefaultImports": true,
22+
"noImplicitAny": true,
23+
"strictNullChecks": true,
24+
"baseUrl": "./",
25+
"paths": {
26+
"components/*": ["src/components/*"],
27+
"utils/*": ["src/utils/*"]
28+
}
2229
},
23-
"include": ["src"]
30+
"include": [
31+
"src"
32+
],
33+
"exclude": [
34+
"node_modules",
35+
"build"
36+
]
2437
}

0 commit comments

Comments
 (0)