2024_DEV_BUT3/vite.config.js

15 lines
312 B
JavaScript
Raw Permalink Normal View History

2024-03-27 01:37:35 +01:00
import { defineConfig } from "vite";
import react from "@vitejs/plugin-react-swc";
// https://vitejs.dev/config/
export default defineConfig({
server: {
port: 3000,
},
test: {
// Use happy-dom for a more lightweight browser environment
environment: "happy-dom",
},
plugins: [react()],
});