@cloudflare/vite-plugin
1.70.1 · 19 Nov 2026MIT12.3M / weekRepositoryHomepagenpmAtom feed
1.70.1 is the newest release of 1.x.
In short
1 new3 fixed3 internal
Release note
Patch Changes
Stop denying
vite.config.*files from Vite dev server accessThis allows projects to access
vite.config.*files during development when needed.Use the date that the plugin is built as the default compatibility date.
When no compatibility date was set by the user, the plugin was falling back to the current date. This meant that the date could get ahead of the latest date supported by the installed version of workerd. We now populate the default compatibility date when the plugin is built. This means that it is updated with each release but then stays fixed.
Simplify
/cdn-cgi/handlingWe now only add special handling for
/cdn-cgi/handler/*routes, so that trigger handlers are invoked on the User Worker.Support Cloudflare-managed registry images in Vite plugin local dev
Previously, using a
registry.cloudflare.comimage in acontainersbinding would crashvite devwith an unsupported error. The Vite plugin now configures the Cloudflare API client usingCLOUDFLARE_API_TOKENandCLOUDFLARE_ACCOUNT_IDbefore pulling container images, matching the behavior ofwrangler dev.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.