From 7c26ebbfb221a9a7797fb381809a4a042268a46f Mon Sep 17 00:00:00 2001 From: Kevin De Baerdemaeker Date: Thu, 19 Oct 2023 12:19:00 +0200 Subject: [PATCH] fix: tsconfig file path for vite (#793) * fix: tsconfig file path for vite * Create mighty-toys-own.md --- .changeset/mighty-toys-own.md | 5 +++++ vite.config.ts | 2 +- vitest.config.ts | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 .changeset/mighty-toys-own.md diff --git a/.changeset/mighty-toys-own.md b/.changeset/mighty-toys-own.md new file mode 100644 index 00000000..ad58cfa4 --- /dev/null +++ b/.changeset/mighty-toys-own.md @@ -0,0 +1,5 @@ +--- +"@equinor/esv-intersection": patch +--- + +fix: tsconfig file path for vite diff --git a/vite.config.ts b/vite.config.ts index ec6bfeba..7434613f 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -39,7 +39,7 @@ export default defineConfig({ }, plugins: [ dts({ - tsConfigFilePath: './src/tsconfig.json', + tsconfigPath: './src/tsconfig.json', }), ], // Generates typescript d.ts files with tsc }); diff --git a/vitest.config.ts b/vitest.config.ts index d81dea09..73da85d3 100644 --- a/vitest.config.ts +++ b/vitest.config.ts @@ -19,7 +19,7 @@ export default mergeConfig( }, plugins: [ dts({ - tsConfigFilePath: './test/tsconfig.json', + tsconfigPath: './test/tsconfig.json', }), ], // Generates typescript d.ts files with tsc }),