import react from "@vitejs/plugin-react";
import { config } from "dotenv";
import tsconfigPaths from "vite-tsconfig-paths";
import { defineConfig } from "vitest/config";

config();

export default defineConfig({
	plugins: [tsconfigPaths(), react()],
	test: {
		environment: "node",
		env: process.env,
	},
});
