rsbuild-plugin-cloudflare 0.0.5 → 0.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -245,6 +245,12 @@ Other differences:
245
245
  - Additional modules (e.g. `.wasm` and `.txt` imports) are emitted at the root
246
246
  of the Worker's output directory, with hashed names, rather than in `assets/`.
247
247
  - SWC lowers `using` declarations in the Worker build, which Vite keeps.
248
+ - The Build Output's root `config.json` names `rsbuild-plugin-cloudflare` as its
249
+ `producer`, where the Vite plugin names `@cloudflare/vite-plugin`.
248
250
  - No "Debug" URL is printed, but `/__debug` works.
251
+ - With `X_LOCAL_EXPLORER_USE_VITE_ALLOWED_HOSTS=true`, the `/cdn-cgi/`
252
+ endpoints (including Local Explorer's) also trust Rsbuild's
253
+ `server.allowedHosts`, in dev and preview, where the Vite plugin trusts
254
+ `server.allowedHosts` in dev and `preview.allowedHosts` in preview.
249
255
  - Miniflare's message about updating the compatibility date mentions
250
256
  `@cloudflare/vite-plugin`.