Repository navigation
Wrangler autoconfig is now GA #11667
Replies: 5 comments 2 replies
|
Is there a plan to support other frameworks? Like Rsbuild, Vite? |
|
I am unable to ignore the PR, since it is wrong. I am using cloudflare pages for FE, workers for BE, but it tries to deploy FE on workers, if I merge the PR. |
|
For those wanting to disable this behavior, use |
|
Following up on the earlier comment about We have a Worker deliberately connected to a repo where the top-level
Across all of these, PR creation consistently landed ~71–75 seconds into every build, well before the deploy step runs — which tells us the name-fix generator is a server-side check that happens early in the build pipeline, not something reachable from any wrangler CLI flag or deploy-command shape. None of the CLI-level or config-level mitigations in this thread touch it. We ended up auto-closing the PR via a GitHub Action scoped to the bot's login + branch-name prefix, and are now looking at a branch protection ruleset as the deterministic stop. It would be great to have an explicit account/Worker-level toggle for the name-fix PR specifically, independent of autoconfig and independent of branch build settings — happy to open a fresh issue with full repro details if that is more useful than a discussion reply. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Edit: updated the title to announce that this feature is now available without the experimental flag. Happy deploying!
Wrangler now supports automatic configuration for popular web frameworks in experimental mode, making it even easier to deploy to Cloudflare Workers.
Previously, if you wanted to deploy an application using a popular web framework like Next.js or Astro, you had to follow tutorials to set up your application for deployment to Cloudflare Workers. This usually involved creating a Wrangler file, and often installing adapters, or changing configuration options.
Now
wrangler deploydoes this for you. Starting with Wrangler 4.55, you can usenpx wrangler deploy --x-autoconfigin the directory of any web application using one of the supported frameworks. Wrangler will then proceed to configure and deploy it to your Cloudflare account.You can also configure your application without deploying it by using the new
npx wrangler setupcommand. This enables you to easily review what changes we are making so your application is ready for Cloudflare Workers.The following application frameworks are supported starting today:
Automatic configuration also supports static sites by automatically detecting the assets directory. From a single index.html file to the output of a generator like Jekyll or Hugo, you can just run
npx wrangler deploy --x-autoconfigto upload to Cloudflare.We're really excited to bring you automatic configuration so you can do more with Workers. Please let us know if you run into challenges using this experimentally.
Please let us know your feedback in this thread.
All reactions