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