comlink-loader
comlink-loader copied to clipboard
Node Support
It would be really great to add node support to this loader.
For example, respecting environment target the loader could change behavior to add a few extra lines. The original Comlink library already supports this. It would be nice to have it in the loader as well.
Or maybe, is there a workaround? Is there a way to make comlink-loader to work with node’s worker threads without modifying loader’s source code? I tried to add another loader on top, but it doesn’t look like a great idea. Any suggestions?