23 lines
459 B
TypeScript
23 lines
459 B
TypeScript
import tailwindcss from "@tailwindcss/vite";
|
|
import react from "@vitejs/plugin-react";
|
|
import { defineConfig } from "vite";
|
|
|
|
export default defineConfig({
|
|
plugins: [
|
|
react({
|
|
babel: {
|
|
plugins: [["babel-plugin-react-compiler", { target: "19" }]],
|
|
},
|
|
}),
|
|
tailwindcss(),
|
|
],
|
|
server: {
|
|
port: Number(process.env.T3_WEB_PORT ?? 5173),
|
|
strictPort: true,
|
|
},
|
|
build: {
|
|
outDir: "dist",
|
|
emptyOutDir: true,
|
|
},
|
|
});
|