-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtsconfig.json
More file actions
30 lines (27 loc) · 821 Bytes
/
Copy pathtsconfig.json
File metadata and controls
30 lines (27 loc) · 821 Bytes
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
{
"compilerOptions": {
// --- Modules et Résolution (Modifié pour supporter import.meta) ---
"module": "ESNext", // ← Changé de NodeNext à ESNext
"moduleResolution": "Bundler", // ← Changé de NodeNext à Bundler
"target": "ES2022",
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
// --- React et JSX ---
"jsx": "react-jsx",
// --- Support import.meta ---
"lib": ["ES2022", "DOM", "DOM.Iterable"],
// --- Vérifications ---
"strict": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"resolveJsonModule": true, // ← Ajouté
"isolatedModules": true // ← Ajouté pour Vite
},
"include": [
"packages/**/*",
"**/*.d.ts"
],
"exclude": [
"node_modules"
]
}