Packages

@cloudflare/vite-plugin

1.70.1 · 19 Nov 2026MIT12.2M / weekRepositoryHomepagenpmAtom feed

Your version

1.24.0

10 Feb 2026Where it was published

1.70.1 is the newest release of 1.x.

In short

1 new1 fixed3 internal

Release note

Minor Changes

  • 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

  • Provide proxy shared secret to Miniflare so that the Worker receives the original Host header

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.