Packages

@cloudflare/vite-plugin

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

Your version

0.1.14

20 Mar 2025Where it was published

0.1.21 is the newest release of 0.1.x.

In short

4 new3 fixed3 internal

Security

1 advisory affects 0.1.14; 1.6.0 fixes them

Release note

Patch Changes

  • Update vite-plugin to use the latest unenv-preset

  • Make sure process.env is populated when the nodejs_compat_populate_process_env flag is set

  • Add support for .wasm?init extension to load WebAssembly as documented by Vite (vite.dev/guide/features.html).

  • Add inspectorPort option to plugin config

    add an inspectorPort option that allows developers to start a devTools inspector server to debug their workers (defaulting to 9229)

  • Make assets field optional in the Worker config when using assets. At build time, assets are included if there is a client build.

  • Add /__debug path for better debugging

    add a new /__debug path that users can navigate to in order to debug their workers

  • Support Text and Data module types.
    Text modules can be imported with a .txt or .html extension while Data modules can be imported with a .bin extension.
    This expands on the existing support for WebAssembly modules, which can now be imported with .wasm or .wasm?module extensions.
    Custom rules are not supported.
    More info on including non-JavaScript modules can be found here.

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.