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
I have a type-only package. We are importing from it and building successfully.
When vitest encounter that imports, it fails with the error: Failed to resolve entry for package "@types/packageName". The package may have incorrect main/module/exports specified in its package.json.
Reproduction
Here is a small reproduction using @types/base64-js:
Describe the bug
I have a type-only package. We are importing from it and building successfully.
When vitest encounter that imports, it fails with the error:
Failed to resolve entry for package "@types/packageName". The package may have incorrect main/module/exports specified in its package.json.
Reproduction
Here is a small reproduction using
@types/base64-js
:https://stackblitz.com/edit/vitest-dev-vitest-tcivys?file=test%2Fbasic.test.ts
System Info
Used Package Manager
pnpm
Validations
The text was updated successfully, but these errors were encountered: