The best way to control Claude Code, Codex and more from any computer or phone

main
ts 11 lines 525 Bytes
Raw
1 import { cloudflare } from "@cloudflare/vite-plugin";
2 import { flue, flueWorkerConfig } from "@flue/vite";
3 import { defineConfig } from "vite";
4
5 // Flue's documented Cloudflare setup, unchanged: `flue()` generates the
6 // Worker entry and one Durable Object class per agent, and hands them to the
7 // Cloudflare plugin through `flueWorkerConfig()`. Alchemy builds and serves
8 // the Worker in place of `@cloudflare/vite-plugin`.
9 export default defineConfig({
10 plugins: [flue(), cloudflare({ config: flueWorkerConfig() })],
11 });