From 03c71aeb15d4c3dc9639f3b3b9da4212b1c9b54b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=ABl=20Charles?= Date: Wed, 25 Sep 2024 12:08:23 +0200 Subject: [PATCH] fix: TS error --- packages/vercel/tsconfig.json | 5 ++++- packages/vercel/tsup.config.ts | 3 +++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/packages/vercel/tsconfig.json b/packages/vercel/tsconfig.json index a403cde..780c9f5 100644 --- a/packages/vercel/tsconfig.json +++ b/packages/vercel/tsconfig.json @@ -7,6 +7,9 @@ "forceConsistentCasingInFileNames": true, "strict": true, "skipLibCheck": true, - "moduleResolution": "Bundler" + "moduleResolution": "Bundler", + "paths": { + "vite": ["./node_modules/vite"] + } } } diff --git a/packages/vercel/tsup.config.ts b/packages/vercel/tsup.config.ts index 6fc5cd0..f285bdf 100644 --- a/packages/vercel/tsup.config.ts +++ b/packages/vercel/tsup.config.ts @@ -9,6 +9,9 @@ export default defineConfig([ target: "node18", dts: { entry: "./src/index.ts", + compilerOptions: { + paths: {} + } }, }, ]);