chore: switch moduleResolution to Bundler

Node (node10) is deprecated and will be removed in TypeScript 7;
Bundler matches how Vite actually resolves imports
This commit is contained in:
Pionxzh
2026-08-20 18:37:59 +08:00
parent 25264ad249
commit 6065acfd65
+1 -1
View File
@@ -6,7 +6,7 @@
"lib": ["ESNext", "DOM"],
"useDefineForClassFields": true,
"module": "ESNext",
"moduleResolution": "Node",
"moduleResolution": "Bundler",
"resolveJsonModule": true,
"types": ["vite/client"],
"strict": true,