Files
radicle-explorer/shared/ui/vite.config.ts
T
Rūdolfs Ošiņš ee80f7d6f4 Add shared core package and query cache
Core holds the keys of the data both apps read and maps a node's ref
updates to the keys they affect. The query cache wraps TanStack Query for
runes, as decided in ADRs 4 and 5.
2026-11-20 19:32:16 +01:00

14 lines
410 B
TypeScript

import { svelte } from "@sveltejs/vite-plugin-svelte";
import { defineConfig } from "vitest/config";
export default defineConfig({
test: {
environment: "happy-dom",
include: ["tests/**/*.test.ts"],
reporters: "verbose",
},
plugins: [svelte()],
// Svelte's server build never runs effects, which rune tests need.
resolve: { conditions: process.env.VITEST ? ["browser"] : undefined },
});