@flue/vite 向 wrangler 配置中添加了 DO 类,但没有在捆绑中导出它
作者: imielvisser创建于 2026年8月13日更新于 2026年9月14日
- Clone https://ZZTERM6ZZ.com/jillesme/talk-to-webpage (which uses
@flue/vite+@flue/runtime) - Run
pnpm install && pnpm build - Run
npx wrangler deploy
Expected behavior
The Vite build should either:
- Generate and export a
FlueBrowserAssistantAgentDO class in the bundle entry point, matching the migration/binding it adds to the generated wrangler config - Or not add the class to the generated wrangler config if it cannot generate the export
内容来源: withastro/flue