Packages

@cloudflare/vite-plugin

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

Your version

1.70.0

17 Nov 2026Where it was published

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 remote

    Artifacts now works locally without Cloudflare credentials by default. Set remote: true to use deployed repositories, or remote: false to 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.events in 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_containers in the Wrangler configuration. The Vite plugin does not accept the --enable-containers CLI 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.