From 55b0dbcc90a50fae747e9ed53b8bce52165f4898 Mon Sep 17 00:00:00 2001 From: hzhu Date: Fri, 3 May 2024 13:13:06 -0700 Subject: [PATCH] fix: latest TS requires specific rootDir Release-As: 1.1.0 --- tsconfig.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tsconfig.json b/tsconfig.json index df1fda7..f3b1003 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,5 +1,6 @@ { "compilerOptions": { + "rootDir": "./src", "declaration": true, "target": "esnext", "lib": ["esnext", "dom"], @@ -13,5 +14,5 @@ "skipLibCheck": true, "emitDeclarationOnly": true }, - "exclude": ["dist", "examples", "node_modules"] + "exclude": ["dist", "examples", "node_modules", "./vite.config.ts"] }