Files
IdeA/frontend/vite.config.ts
Blomios 307ae71857 feat: add main features
Agents for developpement added + frontend add + backend added. Git viewer created + agent and template creator + layout and project creator
2026-06-06 01:27:01 +02:00

24 lines
555 B
TypeScript

import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
import tailwindcss from "@tailwindcss/vite";
import { fileURLToPath, URL } from "node:url";
// Vite config tuned for Tauri v2 (fixed dev port, no clearing the terminal).
export default defineConfig({
plugins: [react(), tailwindcss()],
resolve: {
alias: {
"@": fileURLToPath(new URL("./src", import.meta.url)),
},
},
clearScreen: false,
server: {
port: 5173,
strictPort: true,
},
build: {
target: "es2021",
outDir: "dist",
},
});