@cloudflare/vite-plugin
1.70.1 · 19 Nov 2026MIT12.3M / weekRepositoryHomepagenpmAtom feed
Upgrading @cloudflare/vite-plugin From 0.1.13 to 0.1.14
1 release in betweenevery note read
Security
1 advisory still affects 0.1.14
- Cloudflare Vite plugin exposes secrets over the built-in dev servermoderate · GHSA-4pfg-2mw5-f8jx
Upgrading to 1.6.0 clears it.
Release by release
- New
Add support for
.wasm?initextension to load WebAssembly as documented by Vite (vite.dev/guide/features.html). - New
Add
inspectorPortoption to plugin config - New
Add
/__debugpath for better debugging - New
Support Text and Data module types. Text modules can be imported with a
.txtor.htmlextension while Data modules can be imported with a.binextension. This expands on the existing support for WebAssembly modules, which can now be imported with.wasmor.wasm?moduleextensions. Custom rules are not supported. More info on including non-JavaScript modules can be found here. - Fixed
Update vite-plugin to use the latest unenv-preset
- Fixed
Make sure
process.envis populated when thenodejs_compat_populate_process_envflag is set - Fixed
Make
assetsfield optional in the Worker config when using assets. At build time, assets are included if there is a client build.
- New
3 internal lines (docs, tests, tooling) left out.
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.