17 lines
365 B
TypeScript
17 lines
365 B
TypeScript
import { defineConfig } from "vitest/config";
|
|
import react from "@vitejs/plugin-react";
|
|
import { resolve } from "node:path";
|
|
|
|
export default defineConfig({
|
|
plugins: [react()],
|
|
resolve: {
|
|
alias: {
|
|
"@hai/core": resolve(__dirname, "../core/src/types.ts"),
|
|
},
|
|
},
|
|
test: {
|
|
environment: "jsdom",
|
|
include: ["app/**/*.test.{ts,tsx}"],
|
|
},
|
|
});
|