Agents for developpement added + frontend add + backend added. Git viewer created + agent and template creator + layout and project creator
24 lines
555 B
TypeScript
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",
|
|
},
|
|
});
|