GeneIT/geneit_app/vite.config.ts
Pierre Hubert cef5d3c416
All checks were successful
continuous-integration/drone/push Build is passing
Finish vite migration
2023-12-12 19:45:54 +01:00

16 lines
430 B
TypeScript

import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
import viteTsconfigPaths from "vite-tsconfig-paths";
export default defineConfig({
// depending on your application, base can also be "/"
base: "/",
plugins: [react(), viteTsconfigPaths()],
server: {
// this ensures that the browser opens upon server start
open: true,
// this sets a default port to 3000
port: 3000,
},
});