t3-code-android-nightly/.repos/alchemy-effect/examples/railway-website-tanstack-start/vite.config.ts

12 lines
563 B
TypeScript

// Alchemy loads this config natively — no adapter or deployment preset
// needed here: TanStack Start is pure Vite, and
// `Railway.Website.TanStackStart` wraps the emitted server entry after
// the build. Keep Vite's default `dist` outDir — the integration expects it.
import tailwindcss from "@tailwindcss/vite";
import { tanstackStart } from "@tanstack/react-start/plugin/vite";
import viteReact from "@vitejs/plugin-react";
import { defineConfig } from "vite";
export default defineConfig({
plugins: [tailwindcss(), tanstackStart(), viteReact()],
});