#12446 1231a2e Thanks @jamesopstad! - Infer upload_source_maps setting in the output Worker config from the build.sourcemap setting in the Vite config.
If build.sourcemap is enabled for a Worker environment, as in the following example, "upload_source_maps": true will now automatically be added to the output wrangler.json file.
This removes the need to additionally specify the upload_source_maps property in the input Worker config.
export default defineConfig({
environments: {
my_worker: {
build: {
sourcemap: true,
},
},
},
plugins: [cloudflare()],
});
Note that if upload_source_maps is set in the input Worker config, this value will take precedence.
This makes it possible to generate source maps without uploading them.
#12393 fd8b3e5 Thanks @BlankParticle! - Provide proxy shared secret to Miniflare so that the Worker receives the original Host header
Updated dependencies [5d56487, 2d90127, 2acb277, c8dda16, e02b5f5, 8ba1d11, 555b32a, d636d6a, bf8df0c, e02b5f5, 988dea9, 1f1c3ce, 62635a0, fd902aa, 312b5eb, 961705c, 355c6da, bfd17cd, 3388c84, ce9dc01, 21ac7ab, 937425c]:
Fetched March 31, 2026