Add support for applications that use the entry Worker during development but not at build time#12788
Conversation
🦋 Changeset detectedLatest commit: 147d12d The changes in this PR will be included in the next version bump. Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
✅ All changesets look good Reviewed:
|
e991aa8 to
8c9d3b7
Compare
create-cloudflare
@cloudflare/kv-asset-handler
miniflare
@cloudflare/pages-shared
@cloudflare/unenv-preset
@cloudflare/vite-plugin
@cloudflare/vitest-pool-workers
@cloudflare/workers-editor-shared
@cloudflare/workers-utils
wrangler
commit: |
8c9d3b7 to
99bd729
Compare
|
Hi @jamesopstad — we're doing some cleanup of stale draft PRs. This PR has been quiet since 2026-04-23. Could you let us know within 14 days whether you're still planning to continue?
Thanks! |
This needs to stay open as it's being tested by the Astro team. |
ab2b9da to
45dc232
Compare
|
This has been tested and given the go ahead by the Astro team now. |
|
Codeowners approval required for this PR:
Show detailed file reviewers
|
|
Any updates @jamesopstad ? |
… a pre-render Worker
45dc232 to
147d12d
Compare
|
Codeowners approval required for this PR:
Show detailed file reviewers |
workers-devprod
left a comment
There was a problem hiding this comment.
Codeowners reviews satisfied
Add support for applications that use the entry Worker during development but not at build time
Some frameworks, such as Astro, use the
ssrenvironment during development but omit it from the build if the app is fully static. In these cases, we now output an assets only version of the user's input Wrangler config to the output config in the client output directory.A picture of a cute animal (not mandatory, but encouraged)