Packages

@cloudflare/vite-plugin

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

Your version

1.49.1

31 Jul 2026Where it was published

1.70.1 is the newest release of 1.x.

In short

1 fixed2 internal

Release note

Patch Changes

  • Rewrite local testing paths (/cdn-cgi/*)

    Miniflare v5 moved its internal local testing endpoints to /cdn-cgi/local/* (and /__cf_local/* for endpoints that must remain reachable over tunnels) to prevent any potential collision with production routes. wrangler dev and the Vite plugin now transparently rewrite the old paths to the new ones, meaning you can continue to use the old paths without issue.

    These are the new paths:

    • /cdn-cgi/handler/scheduled → /cdn-cgi/local/scheduled

    • /cdn-cgi/handler/email → /cdn-cgi/local/email

    • /cdn-cgi/explorer/* → /cdn-cgi/local/explorer/*

    • /cdn-cgi/mf/scheduled → /cdn-cgi/local/scheduled (Note /cdn-cgi/mf/scheduled is already deprecated)

    • /cdn-cgi/mf/stream/* → /__cf_local/stream/*

    • /cdn-cgi/mf/imagedelivery/* → /__cf_local/imagedelivery/*

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.