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 +6 -0
- package/dist/additional-modules-BLip8fmB.mjs +44050 -0
- package/dist/constants-BSTDVDmV.mjs +8 -0
- package/dist/index.d.mts +8 -12
- package/dist/index.mjs +1591 -80798
- package/dist/miniflare-options-CKef80Zq.mjs +73 -0
- package/dist/miniflare-options-r5z9uaFO.mjs +14232 -0
- package/dist/{open-NPEHYJ5T-CLdHWlOO.mjs → open-BPppUKSJ-BoP51JHy.mjs} +97 -118
- package/dist/{package-Dbs6JNJH.mjs → package-DtrwVBfL.mjs} +6 -9
- package/dist/request-handler-n9oFuRPf.mjs +254 -0
- package/dist/rolldown-runtime-BMUeFane-BXI4m9DX.mjs +29 -0
- package/dist/rolldown-runtime-DegdyBIC.mjs +25 -0
- package/dist/shared-BgcTKVNO.mjs +5 -0
- package/dist/websockets-BRFceXs5.mjs +88 -0
- package/dist/workers/asset-worker/index.js +151 -276
- package/dist/workers/asset-worker/index.js.map +1 -1
- package/dist/workers/router-worker/index.js +94 -202
- package/dist/workers/router-worker/index.js.map +1 -1
- package/dist/workers/runner-worker/index.js +26 -30
- package/dist/workers/runner-worker/index.js.map +1 -1
- package/dist/workers/runner-worker/module-runner-legacy.js +61 -18
- package/dist/workers/runner-worker/module-runner-legacy.js.map +1 -1
- package/dist/workers/runner-worker/module-runner.js +104 -54
- package/dist/workers/runner-worker/module-runner.js.map +1 -1
- package/dist/workers/vite-proxy-worker/index.js +1 -2
- package/dist/workers/vite-proxy-worker/index.js.map +1 -1
- package/package.json +9 -9
- package/dist/chunk-53YJWLG7-_ps118Xl.mjs +0 -43
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`.
|