Packages

@cloudflare/vite-plugin

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

Your version

1.20.2

13 Jan 2026Where it was published

1.70.1 is the newest release of 1.x.

In short

3 fixed3 internal

Release note

Patch Changes

  • Fix handling of Node builtin modules

    The list of builtin modules should not depend on the version of Node.
    Switch to using the lists published by @cloudflare/unenv-preset.

    This fixes an issue with trying to import i.e. node:sqlite with Node < 22.5.0
    which does not implement this module.

  • Set build.rolldownOptions.resolve.extensions for compatibility with Vite 8 beta.

  • Apply vite-plugin-cloudflare:nodejs-compat-warnings plugin only to relevant environments.

    This is an optimisation so that it doesn't run for the client environment or Worker environments that have the nodejs_compat compatibility flag enabled.

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.