Why depending on webworker-threads
Closed this issue · 0 comments
KraProgrammer commented
In your package.json, you have the "webworker-threads": "^0.7.16" dependency, but I did not find any place where you used the provided features.
Is this just included because the elkjs package could use this.
If this is the case, would it not be more convenient to handle it as the elkjs package handles it:
The package is not installed automatically to avoid the unnecessary dependency for everyone who is not interested in using a web worker. A warning is raised if one requests a web worker without having installed the package. elkjs falls back to the non-Web Worker version in that case.
https://www.npmjs.com/package/elkjs
Thanks for the help.