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
Hi, I am using NebulaGL in my web application. I am running into issues when importing NebulaGL (directly or indirectly) in unit testing frameworks which execute code using NodeJS (vitest in particular) because the package.json for nebula.gl (as well as for @nebula.gl/*):
both does not contain "type": "module"and does not specify exports
Describe the bug
Hi, I am using NebulaGL in my web application. I am running into issues when importing NebulaGL (directly or indirectly) in unit testing frameworks which execute code using NodeJS (
vitest
in particular) because the package.json fornebula.gl
(as well as for@nebula.gl/*
):"type": "module"
and does not specifyexports
This is also clear when checking
nebula.gl
in Publint: https://publint.dev/[email protected]Note: This issue is also related to this one in DeckGL visgl/deck.gl#8186
Actual Result
Expected Result
Expect unit tests to pass when importing something from NebulaGL.
Reproduce Steps
https://stackblitz.com/edit/vitejs-vite-csquxp?file=package.json
Run
npm run test
in the terminal on StackblitzScreenshots
To Do List
The text was updated successfully, but these errors were encountered: