Minor Changes
-
#10001
5796ca9
Thanks @jamesopstad! - We now automatically inject the following HMR code into your Worker entry file:if (import.meta.hot) { import.meta.hot.accept(); }
This prevents file changes from invalidating the full module graph and improves HMR performance in development.
Patch Changes
-
#10038
a355327
Thanks @emily-shen! - Resolvecontainers.image
(if it is a path to a Dockerfile) to an absolute path in the deploy config. -
#9891
dd416e9
Thanks @hi-ogawa! - setbuild.rollupOptions.platform: "neutral"
on rolldown-vite to prevent Rolldown'snode:module
basedrequire
polyfill from breaking the build. -
#9819
0c4008c
Thanks @CarmenPopoviciu! - feat(vite-plugin): Add containers support invite dev
Adds support for Cloudflare Containers in
vite dev
. Please note that at the time of this PR a container image can only specify the path to aDockerfile
. Support for registry links will be added in a later version, as will containers support invite preview
. -
Updated dependencies [
189fe23
,c02b067
,7e5585d
,b0217f9
,e87198a
,ad02ad3
,0c4008c
]:- @cloudflare/unenv-preset@2.4.0
- wrangler@4.25.1
- miniflare@4.20250712.1