mirror of
https://github.com/StanGirard/quivr.git
synced 2024-12-26 12:52:05 +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, "."),
|
||
|
},
|
||
|
},
|
||
|
});
|