-
-
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
Prevent externalized adapters from breaking build #11709
Conversation
🦋 Changeset detectedLatest commit: b6be99a 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 |
!preview-si-crypto-reg |
Invalid command. Expected: "/preview " |
!preview si-crypto-reg |
@@ -49,6 +52,9 @@ function vitePluginSSR( | |||
if (id === SSR_VIRTUAL_MODULE_ID) { | |||
return RESOLVED_SSR_VIRTUAL_MODULE_ID; | |||
} | |||
if (id === ADAPTER_VIRTUAL_MODULE_ID) { | |||
return RESOLVED_ADAPTER_VIRTUAL_MODULE_ID; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would it work to just return adapter.serverEntrypoint
here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, interesting idea, let me try.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Doesn't work, rollup complains about it being external again.
Snapshots have been released for the following packages:
Publish Log
Build Log
|
Confirmed this fixes the reproduction. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
don't know everything here but looks fine to me!
Changes
Testing
Preview release
Docs
N/A, bug fix