keycloak-scim/apps/account-ui/vite.config.ts
Erik Jan de Wit dc3c08aa59
Initial version of the Account UI (#3410)
Co-authored-by: Jon Koops <jonkoops@gmail.com>
2022-10-10 12:14:19 +02:00

17 lines
474 B
TypeScript

import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
import checker from "vite-plugin-checker";
// https://vitejs.dev/config/
export default defineConfig({
base: "",
server: {
port: 8080,
},
resolve: {
// Resolve the 'module' entrypoint at all times (not the default due to Node.js compatibility issues).
mainFields: ["module"],
dedupe: ["react", "react-dom"],
},
plugins: [react(), checker({ typescript: true })],
});