Minor Changes
-
#12446
1231a2eThanks @jamesopstad! - Inferupload_source_mapssetting in the output Worker config from thebuild.sourcemapsetting in the Vite config.If build.sourcemap is enabled for a Worker environment, as in the following example,
"upload_source_maps": truewill now automatically be added to the outputwrangler.jsonfile.
This removes the need to additionally specify theupload_source_mapsproperty in the input Worker config.export default defineConfig({ environments: { my_worker: { build: { sourcemap: true, }, }, }, plugins: [cloudflare()], });
Note that if
upload_source_mapsis set in the input Worker config, this value will take precedence.
This makes it possible to generate source maps without uploading them.
Patch Changes
-
#12393
fd8b3e5Thanks @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]:- wrangler@4.64.0
- miniflare@4.20260210.0
- @cloudflare/unenv-preset@2.12.1