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
A package that exports dependencies like shown below are unable to be resolved when importing with with the name @linode/api-v4/lib/account. It is my understanding that the import @linode/api-v4/lib/account should be handled by the "./lib/*" export, but it is not.
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.
The issue seems to be fixed by changing the resolve.exports version to 1.0.1. Could something be wrong with that package or is there something I'm missing?
Describe the bug
A package that exports dependencies like shown below are unable to be resolved when importing with with the name
@linode/api-v4/lib/account
. It is my understanding that the import@linode/api-v4/lib/account
should be handled by the"./lib/*"
export, but it is not.This does work on vite 4.0.4, but it does not work on any version >=4.0.4 😖
Reproduction
https://stackblitz.com/edit/vitejs-vite-4weaeh?file=main.js
Steps to reproduce
@linode/api-v4
System Info
Used Package Manager
yarn
Logs
No response
Validations
The text was updated successfully, but these errors were encountered: