-
-
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
Remove custom optimizeDeps.include in react integration #12923
base: main
Are you sure you want to change the base?
Conversation
🦋 Changeset detectedLatest commit: 5f05c9e 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 |
Are we confident this won't break anything? If this is already handled by the Vite plugin I'm confused that the Sanity plugimns were having trouble |
Apart from the |
@stipsan could you share a minimal repro so we can see? |
Sure, I can find time by end of next week. Is it ok to hold off on reverting the fix until then? |
@stipsan Would it be possible to look sooner? This is affecting a lot of users now. Even though it's just a warning message, it's confusing lots of people. We'd like to get this out early next week, so if you could take a look by Monday that would be ideal. It would give a chance to see if there are workarounds that still need to be made. It might need an upstream fix to the Vite plugin, for example. |
Understood 🙌 I'll see if I can find time by end of today! |
Changes
fix #12896
ref #12735 (revert)
@vitejs/plugin-react
will addoptimizeDeps.include
themselvesvue
tooptimizeDeps.include
@astrojs/solid-js/client.js
by default like how the other integrations do.I didn't do this for Preact as we're still pinning to an older version, but once we can update to the latest (tracked #12805), we can also do the same here for it.
Testing
Existing tests should pass
Docs
n/a. bug fix.