Spaces:
Sleeping
Sleeping
Commit
·
575d2f2
1
Parent(s):
87854bc
Adjust tsconfig.json for bundler module resolution and simplified types
Browse files- web/tsconfig.json +2 -7
web/tsconfig.json
CHANGED
|
@@ -5,19 +5,14 @@
|
|
| 5 |
"lib": ["ES2020", "DOM", "DOM.Iterable"],
|
| 6 |
"module": "ESNext",
|
| 7 |
"skipLibCheck": true,
|
| 8 |
-
"moduleResolution": "
|
| 9 |
-
"esModuleInterop": true,
|
| 10 |
-
"allowSyntheticDefaultImports": true,
|
| 11 |
-
"resolveJsonModule": true,
|
| 12 |
-
"isolatedModules": true,
|
| 13 |
"noEmit": true,
|
| 14 |
"jsx": "react-jsx",
|
| 15 |
"strict": false,
|
| 16 |
"baseUrl": ".",
|
| 17 |
"paths": {
|
| 18 |
"@/*": ["src/*"]
|
| 19 |
-
}
|
| 20 |
-
"types": ["vite/client", "node", "vitest/globals", "vitest/import-meta"]
|
| 21 |
},
|
| 22 |
"include": ["src", "**/*.ts", "**/*.tsx", "src/types/*.d.ts"],
|
| 23 |
"exclude": ["vite.config.ts", "src/services/api.test.ts"],
|
|
|
|
| 5 |
"lib": ["ES2020", "DOM", "DOM.Iterable"],
|
| 6 |
"module": "ESNext",
|
| 7 |
"skipLibCheck": true,
|
| 8 |
+
"moduleResolution": "bundler",
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
"noEmit": true,
|
| 10 |
"jsx": "react-jsx",
|
| 11 |
"strict": false,
|
| 12 |
"baseUrl": ".",
|
| 13 |
"paths": {
|
| 14 |
"@/*": ["src/*"]
|
| 15 |
+
}
|
|
|
|
| 16 |
},
|
| 17 |
"include": ["src", "**/*.ts", "**/*.tsx", "src/types/*.d.ts"],
|
| 18 |
"exclude": ["vite.config.ts", "src/services/api.test.ts"],
|