We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7bcf28b commit bf584e3Copy full SHA for bf584e3
1 file changed
lib/utils.js
@@ -40,7 +40,7 @@ export const isAsyncFunction = function (fn) {
40
}
41
42
export const resolveImportModulePath = function (modulePath) {
43
- if (isWindows() && modulePath === "string" && path.isAbsolute(modulePath)) {
+ if (isWindows()) {
44
return pathToFileURL(modulePath).href
45
46
return modulePath
0 commit comments