Skip to content

Add support for applications that use the entry Worker during development but not at build time#12788

Draft
jamesopstad wants to merge 7 commits intomainfrom
james/inferred-assets-only
Draft

Add support for applications that use the entry Worker during development but not at build time#12788
jamesopstad wants to merge 7 commits intomainfrom
james/inferred-assets-only

Conversation

@jamesopstad
Copy link
Copy Markdown
Contributor

Add support for applications that use the entry Worker during development but not at build time

Some frameworks, such as Astro, use the ssr environment 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.


  • Tests
    • Tests included/updated
    • Automated tests not possible - manual testing has been completed as follows:
    • Additional testing not necessary because:
  • Public documentation
    • Cloudflare docs PR(s):
    • Documentation not necessary because: framework specific

A picture of a cute animal (not mandatory, but encouraged)

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Mar 6, 2026

🦋 Changeset detected

Latest commit: 8c9d3b7

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

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Mar 6, 2026

✅ All changesets look good

@jamesopstad jamesopstad force-pushed the james/inferred-assets-only branch from e991aa8 to 8c9d3b7 Compare March 6, 2026 14:56
@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new bot commented Mar 6, 2026

create-cloudflare

npm i https://pkg.pr.new/create-cloudflare@12788

@cloudflare/kv-asset-handler

npm i https://pkg.pr.new/@cloudflare/kv-asset-handler@12788

miniflare

npm i https://pkg.pr.new/miniflare@12788

@cloudflare/pages-shared

npm i https://pkg.pr.new/@cloudflare/pages-shared@12788

@cloudflare/unenv-preset

npm i https://pkg.pr.new/@cloudflare/unenv-preset@12788

@cloudflare/vite-plugin

npm i https://pkg.pr.new/@cloudflare/vite-plugin@12788

@cloudflare/vitest-pool-workers

npm i https://pkg.pr.new/@cloudflare/vitest-pool-workers@12788

@cloudflare/workers-editor-shared

npm i https://pkg.pr.new/@cloudflare/workers-editor-shared@12788

wrangler

npm i https://pkg.pr.new/wrangler@12788

commit: cda5f6d

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Untriaged

Development

Successfully merging this pull request may close these issues.

2 participants