Packages

@cloudflare/vite-plugin

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

Your version

1.25.0

12 Feb 2026Where it was published

1.70.1 is the newest release of 1.x.

In short

1 new1 fixed2 internal

Release note

Minor Changes

  • Set { serverHandler: false } automatically when using @vitejs/plugin-rsc

    By default, @vitejs/plugin-rsc adds dev and preview server middleware that imports the RSC entry in Node.js. This fails with cloudflare:* imports (ERR_UNSUPPORTED_ESM_URL_SCHEME) and is unnecessary since the Cloudflare plugin handles requests via workerd. Users no longer need to pass rsc({ serverHandler: false }) manually.

Patch Changes

  • Avoid The WebSocket is undefined error when frameworks create a child Vite server during build

    React Router creates a child Vite dev server during production builds to compile route files. This could previously cause an intermittent The WebSocket is undefined assertion error.

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.