Packages

@cloudflare/autoconfig

0.13.3 · 20 Nov 2026MIT OR Apache-2.09.9k / weekRepositoryHomepagenpmAtom feed

Your version

0.9.0

1 Nov 2026Where it was published

0.13.3 is the newest release of 0.9.x.

In short

2 new1 fixed4 internal

Release note

Minor Changes

  • Add an outputDir option to getDetailsForAutoConfig

    Callers that already know which directory holds their built static assets can pass it as outputDir instead 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 cf from version 8.5.1

    React Router 8.5.1 builds into the output directories that the Cloudflare Vite plugin v2 uses, which cf needs. Autoconfig now requires React Router 8.5.1 or later when configuring a project for cf, and stops with a clear message on earlier versions instead of letting cf build fail 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 dev and vp build when Vite+ is declared. Its Vite alias does not expose a vite executable, so invoking vite can 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.