@cloudflare/vite-plugin
1.70.1 · 19 Nov 2026MIT12.3M / weekRepositoryHomepagenpmAtom feed
1.70.1 is the newest release of 1.x.
In short
2 new3 fixed
Release note
Minor Changes
Support opting into zstd compression for local Container image builds in v1
Update the container build helper so
WRANGLER_CONTAINER_IMAGE_COMPRESSION=zstdapplies when the Vite plugin prepares Dockerfile-based Container images. Docker must use the containerd image store; the default build behavior is unchanged.
Patch Changes
Update the v1 development runtime to Miniflare 5.20261103.0-beta
Use the November 3 workerd runtime with matching Wrangler 4.157.0 and default compatibility date. Local rate-limit bindings now support weighted calls using
delta. Load the Node.js compatibility helper from workers-utils so v1 continues to build and run after Miniflare removes its deprecated export.Fix signed Accept-Encoding headers on the experimental local R2 S3 endpoint
Preserve the original S3 request header in the Vite request adapter so clients that sign
Accept-Encoding: identitycan use the endpoint exposed by Vite development and preview withoutSignatureDoesNotMatcherrors. The runtime verifies the exact value signed by the client.Validate OAuth callbacks during remote binding login in Vite development
Unrelated browser callbacks no longer interrupt remote binding login, and provider error messages no longer print terminal control characters.
Respect the user's
build.cssTargetin Worker environmentsOnly apply the
es2024CSS default when neither the top-level nor the Worker environment'sbuild.cssTargetis set. This prevents Vite's array merging from lowering explicit browser targets and adding unwanted CSS polyfills.
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.