releases.shpreview
Cloudflare/Workers SDK/@cloudflare/vite-plugin@1.24.0

@cloudflare/vite-plugin@1.24.0

$npx -y @buildinternet/releases show rel_LEw7PRp6-JQ4nWqS1jKa5

Minor Changes

  • #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.

Patch Changes

Fetched March 31, 2026