{"id":77,"date":"2025-12-16T00:00:00","date_gmt":"2025-12-16T00:00:00","guid":{"rendered":"https:\/\/wordpress.securinsight.ca\/index.php\/2025\/12\/16\/workers-configure-your-framework-for-cloudflare-automatically\/"},"modified":"2025-12-16T00:00:00","modified_gmt":"2025-12-16T00:00:00","slug":"workers-configure-your-framework-for-cloudflare-automatically","status":"publish","type":"post","link":"https:\/\/wordpress.securinsight.ca\/index.php\/2025\/12\/16\/workers-configure-your-framework-for-cloudflare-automatically\/","title":{"rendered":"Workers &#8211; Configure your framework for Cloudflare automatically"},"content":{"rendered":"<p>Wrangler now supports automatic configuration for popular web frameworks in experimental mode, making it even easier to deploy to Cloudflare Workers.<\/p>\n<p>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, installing adapters, or changing configuration options.<\/p>\n<p>Now <code>wrangler deploy<\/code> does this for you. Starting with Wrangler 4.55, you can use <code>npx wrangler deploy --x-autoconfig<\/code> in 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.<\/p>\n<p>You can also configure your application without deploying it by using the new <code>npx wrangler setup<\/code> command. This enables you to easily review what changes we are making so your application is ready for Cloudflare Workers.<\/p>\n<p>The following application frameworks are supported starting today:<\/p>\n<ul>\n<li>Next.js<\/li>\n<li>Astro<\/li>\n<li>Nuxt<\/li>\n<li>TanStack Start<\/li>\n<li>SolidStart<\/li>\n<li>React Router<\/li>\n<li>SvelteKit<\/li>\n<li>Docusaurus<\/li>\n<li>Qwik<\/li>\n<li>Analog<\/li>\n<\/ul>\n<p>Automatic configuration also supports static sites by detecting the assets directory and build command. From a single index.html file to the output of a generator like Jekyll or Hugo, you can just run <code>npx wrangler deploy --x-autoconfig<\/code> to upload to Cloudflare.<\/p>\n<p>We&#8217;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. We\u2019ve opened a <a href=\"https:\/\/github.com\/cloudflare\/workers-sdk\/discussions\/11667\" target=\"_blank\">GitHub discussion<\/a> and would love to hear your feedback.<\/p>","protected":false},"excerpt":{"rendered":"<p>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 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-77","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/wordpress.securinsight.ca\/index.php\/wp-json\/wp\/v2\/posts\/77","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.securinsight.ca\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wordpress.securinsight.ca\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.securinsight.ca\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.securinsight.ca\/index.php\/wp-json\/wp\/v2\/comments?post=77"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.securinsight.ca\/index.php\/wp-json\/wp\/v2\/posts\/77\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.securinsight.ca\/index.php\/wp-json\/wp\/v2\/media?parent=77"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wordpress.securinsight.ca\/index.php\/wp-json\/wp\/v2\/categories?post=77"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wordpress.securinsight.ca\/index.php\/wp-json\/wp\/v2\/tags?post=77"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}