-
-
Notifications
You must be signed in to change notification settings - Fork 394
Open
Labels
Description
Bug description
Running vtk.js on the backend doesn't work without modifying the package.json.
(Maybe this is a feature request?)
Steps to reproduce
Try installing @kitware/vtk.js on node when using ESM. The package is incorrectly loaded, and it will run properly when "type": "module" is added.
Detailed Behavior
No response
Expected Behavior
It works OOTB in node. Is there any other issue that would be caused by adding "type": "module" to the package.json?
Environment
- vtk.js version: master
- node.js 18+ (but probably before also).