-
-
Notifications
You must be signed in to change notification settings - Fork 6.2k
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 >=3.1.5 breaks Jotai babel plugins #10430
Comments
About this, isn't there a problem with the versioning on npm ? |
It appears this is still an issue, as #10528 and #10683 only affect config bundling. /cc @sapphi-red |
I think the plan is to allow users to omit In my opinion, Vite shouldn't use the /cc @Dunqing @benmccann (since you two had opinions in #10442) |
I agree with you. |
@aleclarson Isn't this issue about config bundling only?
I don't think that's the intent of the PR. It's fixing an issue with config bundling only. |
I implemented in a way that we could do like that in future. But that is not the main intent of that PR. The intent was to make I think removing About chaging the |
Ah ok, my mistake!
Yeah, I worded my comment poorly. I wasn't saying that it was the only or even the main intent of #10683, but I noticed it was implied in the |
Describe the bug
Vite 3.1.5 changed the processing of package exports. This breaks two Jotai plugins (debug-label and react-refresh).
vite dev chokes with the following error:
Reverting to 3.1.4 makes the error go away.
The author of Jotai thinks this may be a vite problem, not a problem with Jotai itself.
See discussion with initial analysis here: pmndrs/jotai#1475
Reproduction
https://github.com/gunters63/jotei-vite-import-error
Steps to reproduce
pnpm install, then pnpm dev
System Info
Used Package Manager
pnpm
Logs
No response
Validations
The text was updated successfully, but these errors were encountered: