github cloudflare/workers-sdk @cloudflare/vite-plugin@1.10.0

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! - Resolve containers.image (if it is a path to a Dockerfile) to an absolute path in the deploy config.

  • #9891 dd416e9 Thanks @hi-ogawa! - set build.rollupOptions.platform: "neutral" on rolldown-vite to prevent Rolldown's node:module based require polyfill from breaking the build.

  • #9819 0c4008c Thanks @CarmenPopoviciu! - feat(vite-plugin): Add containers support in vite 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 a Dockerfile. Support for registry links will be added in a later version, as will containers support in vite preview.

  • Updated dependencies [189fe23, c02b067, 7e5585d, b0217f9, e87198a, ad02ad3, 0c4008c]:

    • @cloudflare/unenv-preset@2.4.0
    • wrangler@4.25.1
    • miniflare@4.20250712.1

Don't miss a new workers-sdk release

NewReleases is sending notifications on new releases.