Keycloak
1import { defineConfig } from "vitest/config";
2import react from "@vitejs/plugin-react-swc";
3import { checker } from "vite-plugin-checker";
4
5// https://vitejs.dev/config/
6export default defineConfig({
7base: "",
8server: {
9port: 8080,
10},
11build: {
12sourcemap: true,
13target: "esnext",
14modulePreload: false,
15cssMinify: "lightningcss",
16rollupOptions: {
17external: ["react", "react/jsx-runtime", "react-dom"],
18},
19},
20plugins: [react(), checker({ typescript: true })],
21test: {
22watch: false,
23},
24});
25