-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Closed
Labels
p4-importantViolate documented behavior or significantly improves performance (priority)Violate documented behavior or significantly improves performance (priority)
Description
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
System:
OS: Windows 10 10.0.22621
CPU: (16) x64 AMD Ryzen 9 6900HS with Radeon Graphics
Memory: 6.27 GB / 31.26 GB
Binaries:
Node: 18.10.0 - C:\Program Files\nodejs\node.EXE
npm: 8.19.2 - C:\Program Files\nodejs\npm.CMD
Browsers:
Edge: Spartan (44.22621.608.0), Chromium (106.0.1370.37)
Internet Explorer: 11.0.22621.1
npmPackages:
vite: 3.1.7 => 3.1.4Used Package Manager
pnpm
Logs
No response
Validations
- Follow our Code of Conduct
- Read the Contributing Guidelines.
- Read the docs.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
- Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
- The provided reproduction is a minimal reproducible example of the bug.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
p4-importantViolate documented behavior or significantly improves performance (priority)Violate documented behavior or significantly improves performance (priority)
