bare-module 2.6.1 → 2.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +1 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -391,7 +391,7 @@ const Module = module.exports = exports = class Module {
|
|
|
391
391
|
const path = url.fileURLToPath(resolution)
|
|
392
392
|
|
|
393
393
|
if (protocol.exists(path)) {
|
|
394
|
-
return protocol.postresolve(
|
|
394
|
+
return protocol.postresolve(path, dirname)
|
|
395
395
|
}
|
|
396
396
|
}
|
|
397
397
|
}
|