You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Guard against poorly mocked module constructors.
@@ -79,13 +80,11 @@ export class LoaderUtil {
79
80
throwcreateLoadError(originalFilePath,e);
80
81
}
81
82
if(exports==null){
82
-
if(process.platform==='win32'){
83
-
// convert to file:// url
84
-
// avoid windows path issue: Only URLs with a scheme in: file, data, and node are supported by the default ESM loader. On Windows, absolute paths must be valid file:// URLs. Received protocol 'd:'
// avoid windows path issue: Only URLs with a scheme in: file, data, and node are supported by the default ESM loader. On Windows, absolute paths must be valid file:// URLs. Received protocol 'd:'
0 commit comments