-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vite: externalize getbindingsproxy from cloudflare preset #8688
Conversation
🦋 Changeset detectedLatest commit: 086d7e6 The changes in this PR will be included in the next version bump. This PR includes changesets to release 16 packages
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 |
9052cc2
to
5d0b47a
Compare
5d0b47a
to
3dc64e5
Compare
A couple of minor wording suggestions but nothing blocking 👍 |
Co-authored-by: Mark Dalgleish <[email protected]>
Co-authored-by: Mark Dalgleish <[email protected]>
🤖 Hello there, We just published version Thanks! |
🤖 Hello there, We just published version Thanks! |
Vite: Require
getBindingsProxy
from Wrangler for Cloudflare presetThis is a breaking change for projects using the Cloudflare preset for the unstable Vite plugin.
You must now pass in
getBindingsProxy
from Wrangler:Additionally, the
getRemixDevLoadContext
function now provides the request as part of the context:When using
getRemixDevLoadContext
, it's recommended that you create aload-context.ts
file to define a sharedgetLoadContext
function that you can use for bothgetRemixDevLoadContext
invite.config.ts
as well as withinfunctions/[[path]].ts
.For more, see the Future > Vite > Cloudflare docs.