From c72f5d3c678a37a6d0f2ed912aff624aee33ed49 Mon Sep 17 00:00:00 2001 From: Lukas Mertens Date: Sat, 12 Oct 2024 13:46:48 +0200 Subject: [PATCH] chore(tsconfig): switch to moduleResolution bundler Signed-off-by: Lukas Mertens --- tsconfig.json | 2 +- tsconfig.node.json | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) 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",