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

12 lines
589 B
TypeScript

// Alchemy loads this config natively — no adapter or deployment preset
// needed here: TanStack Start is pure Vite, and `AWS.Website.TanStackStart`
// wraps the emitted server entry as a streaming Lambda handler 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()],
});