2024-03-27 10:51:41 +01:00
|
|
|
import { defineConfig } from "vite";
|
|
|
|
import react from "@vitejs/plugin-react-swc";
|
|
|
|
|
|
|
|
// https://vitejs.dev/config/
|
|
|
|
export default defineConfig({
|
|
|
|
server: {
|
2024-05-11 22:37:32 +02:00
|
|
|
port: 3001,
|
2024-03-27 10:51:41 +01:00
|
|
|
},
|
|
|
|
test: {
|
|
|
|
// Use happy-dom for a more lightweight browser environment
|
|
|
|
environment: "happy-dom",
|
|
|
|
},
|
|
|
|
plugins: [react()],
|
|
|
|
});
|