chore(deps): update dependency vite-tsconfig-paths to v5 (#934)

* chore(deps): update dependency vite-tsconfig-paths to v5

* fix: esm only issue

---------

Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
Co-authored-by: Meier Lukas <meierschlumpf@gmail.com>
This commit is contained in:
homarr-renovate[bot]
2024-08-08 21:29:52 +02:00
committed by GitHub
parent 9258c397e0
commit 013c0c0eeb
3 changed files with 7 additions and 7 deletions

26
vitest.config.mts Normal file
View File

@@ -0,0 +1,26 @@
import react from "@vitejs/plugin-react";
import tsconfigPaths from "vite-tsconfig-paths";
import { configDefaults, defineConfig } from "vitest/config";
export default defineConfig({
plugins: [react(), tsconfigPaths()],
test: {
setupFiles: ["./vitest.setup.ts"],
environment: "jsdom",
include: ["**/*.spec.ts"],
poolOptions: {
threads: {
singleThread: false,
},
},
coverage: {
provider: "v8",
reporter: ["html", "json-summary", "json"],
all: true,
exclude: ["apps/nextjs/.next/"],
reportOnFailure: true
},
exclude: [...configDefaults.exclude, "apps/nextjs/.next"],
},
});