You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Prebundler incorrectly handles JSONs that has "default" as top-level property #22530
See reproduction link. The prebundled deps generated locally looks this, resulting in an incorrect accessor pattern for getting the property "default" within the JSON that results in undefined in this case:
We ran into this issue last friday as one of our NPM packages contains an JSON that has "default" as top-level property in the JSON, resulting in null exception during local dev serve.
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.
Activity