diff --git a/tsconfig.json b/tsconfig.json index 2dd7b9f1..dfe86a98 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -4,7 +4,7 @@ "target": "ESNext", "useDefineForClassFields": true, "module": "ESNext", - "moduleResolution": "Node", + "moduleResolution": "bundler", "strict": true, "jsx": "preserve", "resolveJsonModule": true, diff --git a/tsconfig.node.json b/tsconfig.node.json index 0a4c7ff1..e32cc57d 100644 --- a/tsconfig.node.json +++ b/tsconfig.node.json @@ -2,8 +2,9 @@ "compilerOptions": { "composite": true, "module": "ESNext", - "moduleResolution": "Node", - "allowSyntheticDefaultImports": true + "moduleResolution": "bundler", + "skipLibCheck": true, + "allowSyntheticDefaultImports": true, }, "include": [ "vite.config.ts",