Workers - Use auxiliary Workers alongside full-stack frameworks
5mo ago
Source
CloudflareWorkers - Use auxiliary Workers alongside full-stack frameworkscloudflare.comAuxiliary Workers are now fully supported when using full-stack frameworks, such as React Router and TanStack Start , that integrate with the Cloudflare Vite plugin . They are included alongside the framework's build output in the build output directory. Note that this feature requires Vite 7 or above. Auxiliary Workers are additional Workers that can be called via service bindings from your main (entry) Worker. They are defined in the plugin config, as in the example below: import { defineConfig } from "vite" ; import { tanstackStart } from "@tanstack/react-start/plugin/vite" ; import { cloudflare } from "@cloudflare/vite-plugin" ; export default defineConfig ( { plugins : [ tanstackStart () , cloudflare ( { viteEnvironment : { name : "ssr" }, auxiliaryWorkers : [ { configPath : "./wrangler.aux.jsonc" } ] , } ) , ] , } ) ; See the Vite plugin API docs for more info.
You might also wanna read
Cloudflare Python Workers Enhancements: Fast Cold Starts, Package Support, and uv Integration
Cloudflare has significantly improved its Python Workers platform with major enhancements including exceptionally fast cold starts, comprehe
OpenWorkers: Open-Source Runtime for Self-Hosted Cloudflare Workers Implementation
OpenWorkers is an open-source runtime that enables developers to run Cloudflare Workers-style JavaScript applications on their own infrastru

Comments
Sign in to join the conversation.
No comments yet. Be the first.