@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 new2 internal
Release note
Minor Changes
Add
tunnel: trueto thecloudflare()Vite plugin for sharing your local dev and preview servers via Cloudflare Quick TunnelsYou can now expose your local dev server publicly by setting
tunnel: true:cloudflare({ tunnel: true, });You can also enable tunnel sharing dynamically using an environment variable:
cloudflare({ tunnel: process.env.ENABLE_DEV_TUNNEL === "true", });This starts a Cloudflare Quick Tunnel that gives you a random
*.trycloudflare.comURL to share. The tunnel stops automatically when the dev or preview session ends. Quick tunnels don't require a Cloudflare account or any configuration.A warning is shown when Server-Sent Events (SSE) responses are detected through the tunnel, since quick tunnels don't support SSE.
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.