All checks were successful
CI / ci (push) Successful in 15s
Run biome check --write --unsafe to fix tabs, import ordering, and non-null assertions across entire codebase. Disable a11y rules not applicable to this single-user app. Exclude auto-generated routeTree. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
27 lines
592 B
TypeScript
27 lines
592 B
TypeScript
import tailwindcss from "@tailwindcss/vite";
|
|
import { TanStackRouterVite } from "@tanstack/router-plugin/vite";
|
|
import react from "@vitejs/plugin-react";
|
|
import { defineConfig } from "vite";
|
|
|
|
export default defineConfig({
|
|
plugins: [
|
|
TanStackRouterVite({
|
|
target: "react",
|
|
autoCodeSplitting: true,
|
|
routesDirectory: "./src/client/routes",
|
|
generatedRouteTree: "./src/client/routeTree.gen.ts",
|
|
}),
|
|
react(),
|
|
tailwindcss(),
|
|
],
|
|
server: {
|
|
proxy: {
|
|
"/api": "http://localhost:3000",
|
|
"/uploads": "http://localhost:3000",
|
|
},
|
|
},
|
|
build: {
|
|
outDir: "dist/client",
|
|
},
|
|
});
|