mirror of
https://github.com/QuivrHQ/quivr.git
synced 2024-12-15 17:43:03 +03:00
20 lines
436 B
TypeScript
20 lines
436 B
TypeScript
|
import react from "@vitejs/plugin-react";
|
||
|
import path from "path";
|
||
|
import { defineConfig } from "vitest/config";
|
||
|
|
||
|
// https://vitejs.dev/config/
|
||
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-call
|
||
|
export default defineConfig({
|
||
|
plugins: [react()],
|
||
|
test: {
|
||
|
environment: "jsdom",
|
||
|
globals: true,
|
||
|
setupFiles: ["dotenv/config"],
|
||
|
},
|
||
|
resolve: {
|
||
|
alias: {
|
||
|
"@": path.resolve(__dirname, "."),
|
||
|
},
|
||
|
},
|
||
|
});
|