Skip to content

Commit a254ee2

Browse files
Updated typescript config.
1 parent ee3ab6a commit a254ee2

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

tsconfig.json

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,19 @@
1111
// --- STRONGLY RECOMMENDED ---
1212
// Enabling strict mode is a best practice that helps catch bugs early.
1313
"strict": true,
14-
"moduleResolution": "node16",
15-
"module": "Node16",
16-
"target": "esnext",
14+
// ESM-aware resolution and output
15+
"moduleResolution": "nodenext",
16+
"module": "NodeNext",
17+
"customConditions": [
18+
"react-native"
19+
],
20+
"target": "es2020",
21+
"allowSyntheticDefaultImports": true,
1722
"jsx": "react-jsx",
1823
"esModuleInterop": true,
1924
"skipLibCheck": true,
2025
"forceConsistentCasingInFileNames": true,
26+
// Path aliasing
2127
"baseUrl": ".",
2228
"paths": {
2329
"@/*": [

0 commit comments

Comments
 (0)