Packages

@cloudflare/vite-plugin

1.70.1 · 19 Nov 2026MIT12.3M / weekRepositoryHomepagenpmAtom feed

Your version

1.68.0

9 Nov 2026Where it was published

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=zstd applies 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: identity can use the endpoint exposed by Vite development and preview without SignatureDoesNotMatch errors. 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.cssTarget in Worker environments

    Only apply the es2024 CSS default when neither the top-level nor the Worker environment's build.cssTarget is 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.