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

windows pathing fix

Open rokku-x opened this issue 3 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

@simoneb could you check this on Windows?

mcollina avatar Dec 07 '21 08:12 mcollina

@simoneb could you check this on Windows?

happy to check once there's a proper implementation and tests in this PR

simoneb avatar Dec 08 '21 14:12 simoneb