@cloudflare/autoconfig
0.13.3 · 20 Nov 2026MIT OR Apache-2.09.9k / weekRepositoryHomepagenpmAtom feed
0.13.3 is the newest release of 0.9.x.
In short
2 new1 fixed4 internal
Release note
Minor Changes
Add an
outputDiroption togetDetailsForAutoConfigCallers that already know which directory holds their built static assets can pass it as
outputDirinstead of having autoconfig detect one. Relative paths are resolved against the project path. This selects static-asset configuration for unconfigured projects even when framework dependencies are present, without running framework migrations or builds that could replace the requested assets. Existing Workers and Pages configurations, including deployments configured through the Cloudflare Vite plugin alone, retain their usual detection behavior.Checking whether a Vite project already uses the Cloudflare plugin no longer writes the Vite config back to disk, preserving its line endings and trailing newline.
Patch Changes
Support React Router on
cffrom version 8.5.1React Router 8.5.1 builds into the output directories that the Cloudflare Vite plugin v2 uses, which
cfneeds. Autoconfig now requires React Router 8.5.1 or later when configuring a project forcf, and stops with a clear message on earlier versions instead of lettingcf buildfail later. Projects configured for Wrangler keep the existing minimum of React Router 7.0.0.Run the project-local Vite+ executable for Vite+ projects
Use
vp devandvp buildwhen Vite+ is declared. Its Vite alias does not expose aviteexecutable, so invokingvitecan fail with pnpm or cause npm to fetch a separate Vite. Preserve framework-owned commands and custom scripts.
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.