Closed tony2y closed 8 months ago
@nikku
@tony2y This is an absolute fine setup for a package. The package#json#exports
field defines exports that will be used.
For a long time we only published dist
folder: https://github.com/nikku/didi/commit/71c38d49266e1fbf6e3399a80858b6492e7dc17c.
But now there is an issue that when using diagram js in the Vue project, executing npm run dev will result in errors。
@nikku
@tony2y The issue is that you use an unsupported and outdated node version. Node 18 is in maintainance, and the didi baseline is node >= 16. Upon installing you should see a warning.
Thank you for your answer!!