I cloned the project and tried to run npm install but I got this error message about unresolved peer dependencies.
Looking into it, I discovered that the worker-loader package is deprecated for webpack v5.
Web workers are available directly in webpack v5, but the catch is that it's only available in module syntax, and not commonjs. https://webpack.js.org/guides/web-workers/
I cloned the project and tried to run
npm install
but I got this error message about unresolved peer dependencies.Looking into it, I discovered that the worker-loader package is deprecated for webpack v5.
Web workers are available directly in webpack v5, but the catch is that it's only available in module syntax, and not commonjs. https://webpack.js.org/guides/web-workers/
It looks like there's already a ticket for esmodule support, but it hasn't been updated in a while. https://github.com/hiukim/mind-ar-js/issues/63
Since it seems like a big task to solve this issue, I wonder, is there a workaround for this?