@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 removed2 new4 fixed
- Removed
Remove unsupported CLI flag advice from v1 Container Docker errors
Release note
Minor Changes
Use the local simulator for Artifacts bindings that omit
remoteArtifacts now works locally without Cloudflare credentials by default. Set
remote: trueto use deployed repositories, orremote: falseto silence the migration warning. The updated Miniflare runtime also supplies Browser Run quick actions and local Artifacts fixes.Start local Workflows from Artifacts events
Configure
triggers.eventsin your Wrangler configuration to deliver local Artifacts repository and token events to a Workflow defined by the same Worker. Miniflare 5.20261116.0-beta and Wrangler 4.163.0 support this beta feature through Vite plugin v1. Local push, clone, fetch, and queue subscriptions remain unsupported.
Patch Changes
- Removed
Remove unsupported CLI flag advice from v1 Container Docker errors
When Docker is unavailable, suggest disabling local Containers through
dev.enable_containersin the Wrangler configuration. The Vite plugin does not accept the--enable-containersCLI flag. Update the v1 development runtime to Miniflare 5.20261110.2-beta
Update Wrangler to 4.161.0 to keep its public Miniflare types aligned with the runtime. Use the latest compatible runtime, including relative asset redirect normalization, while retaining Wrangler configuration through the Miniflare v4 compatibility adapter.
Normalize relative asset redirect pathnames without changing query values or fragments
Keep repeated separators captured by redirect placeholders within the site's path. Preserve explicitly configured external targets, including scheme-less URLs, when serving assets during development.
Reuse Wrangler credentials refreshed by another process during remote development
Update authentication for retained remote bindings so a running Vite server can reuse a valid token saved by another process without another exchange or an older credential write.
Keep v1 remote bindings on Wrangler authentication
Ignore the obsolete CLOUDFLARE_CF_AUTH environment flag so development and preview sessions continue using the project's Wrangler profile and configured account.
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.