thread-stream icon indicating copy to clipboard operation
thread-stream copied to clipboard

windows pathing fix

Open rokku-x opened this issue 2 years ago • 2 comments

import will not universally work on all node.js use-cases like pkg for example. I made fix to handover the module loading to require in node.js for better compatibility.

when removing the 'file://' from path, in windows, it will leave a leading '/' in the path that will make the worker module loading fail.

rokku-x avatar Dec 07 '21 02:12 rokku-x