Closed askoufis closed 4 months ago
Latest commit: 577928d5c0b7f2b7eb37454d807180385af2e79f
The changes in this PR will be included in the next version bump.
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
Fixes #307.
When working with windows paths, a path like
C:\foo\bar
will be misinterpreted byimport
. It interprets the path as a URL and thinksC:
is a protocol.url.pathToFileURL
addresses this by converting the path to a proper file URL, whichimport
interprets correctly.Verified the fix on my Windows machine.