@cloudflare/autoconfig@0.15.0
Minor Changes
#17246
d28fedeThanks @edmundhung! - Set up Hono projects for cfPreviously, autoconfig refused every Hono project on cf. It now sets them up to build with Vite and the Cloudflare plugin, as in Hono's Workers + Vite starter: it adds Vite when the project doesn't use it, replaces Hono's own Vite dev server and build plugins, and uses the app's entry file as the Worker entry point. An entry file that doesn't export the app, such as one that starts a Node.js server, and HonoX projects are refused with a message. The Wrangler target is unchanged.
#17280
0fc70f2Thanks @edmundhung! - Build Hugo sites on cfcf now recognises Hugo sites, runs
hugo, and deploys the folder it builds:public, or thepublishDirthat Hugo's config sets. Before, cf deployed whatever was already inpublicwithout building the site. The deploy script spells out both steps,hugo && cf deploy public, so you can see and change them. …