Packages

@cloudflare/vite-plugin

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

Your version

1.6.0

12 Jun 2025Where it was published

1.70.1 is the newest release of 1.x.

In short

1 new1 fixed3 internal

Security

Fixes 1 advisory that affected 1.5.1

Release note

Minor Changes

  • Enhanced build support for Workers with assets.

    Assets that are imported in the entry Worker are now automatically moved to the client build output. This enables importing assets in your Worker and accessing them via the assets binding. See Static Asset Handling to find out about all the ways you can import assets in Vite.

    Additionally, a broader range of build scenarios are now supported. These are:

    • Assets only build with client entry/entries

    • Assets only build with no client entry/entries that includes public directory assets

    • Worker(s) + assets build with client entry/entries

    • Worker(s) + assets build with no client entry/entries that includes imported and/or public directory assets

    • Worker(s) build with no assets

Patch Changes

  • Ensure that .dev.vars files cannot be accessed via the dev server or preview server.

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.