-
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: cloudflare preset load context #8649
vite: cloudflare preset load context #8649
Conversation
🦋 Changeset detectedLatest commit: 1917bc3 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 |
since we dropped the term "adapter" in favor of "preset" its needs less clarification
🤖 Hello there, We just published version Thanks! |
🤖 Hello there, We just published version Thanks! |
@pcattori Is I'm using a custom Express server, so it would be nice if I could set the load context in the Vite dev server as well. |
@kiliman : no, its not considerd public API. The idea is that for Node-based custom servers, you can use the same server for both dev and prod where you can choose to delegate asset handling and route handling to Vite in dev. In that world, you already have direct access to The issue with CF is that (as of today) Vite can't delegate server code execution to other runtimes (like |
True. Thanks! |
🤖 Hello there, We just published version Thanks! |
Closes: #
Testing Strategy: