Packages

@cloudflare/vite-plugin

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

Your version

1.19.0

18 Dec 2025Where it was published

1.70.1 is the newest release of 1.x.

In short

1 new2 internal

Release note

Minor Changes

  • Provide the resolved entry Worker config in the second parameter to the auxiliary Worker config function. This makes it straightforward to inherit configuration from the entry Worker in auxiliary Workers.

    Example:

    export default defineConfig({
        plugins: [
            cloudflare({
                auxiliaryWorkers: [
                    {
                        config: (_, { entryWorkerConfig }) => ({
                            name: "auxiliary-worker",
                            main: "./src/auxiliary-worker.ts",
                            // Inherit compatibility settings from entry Worker
                            compatibility_date: entryWorkerConfig.compatibility_date,
                            compatibility_flags: entryWorkerConfig.compatibility_flags,
                        }),
                    },
                ],
            }),
        ],
    });

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.