nodejs / import-in-the-middle

Like `require-in-the-middle`, but for ESM import
https://www.npmjs.com/package/import-in-the-middle
Apache License 2.0
60 stars 22 forks source link

Fix module interception on windows #22

Closed CarlesDD closed 1 year ago

CarlesDD commented 2 years ago

This PR fixes the bug that occurs in Windows where non-internal module loading is not intercepted due to the platform-specific path segment separator.