1import { sveltekit } from "@sveltejs/kit/vite";
2import tailwindcss from "@tailwindcss/vite";
3import { defineConfig } from "vite";
4
5// Alchemy loads this config natively at deploy time and injects its
6// wrangler-free Cloudflare adapter into the `sveltekit()` instance below —
7// do NOT declare an adapter here.
8export default defineConfig({
9 plugins: [tailwindcss(), sveltekit({ alias: { $lib: "src/lib" } })],
10});