Skip to content

Commit

Permalink
Normalized file path (babel#14185)
Browse files Browse the repository at this point in the history
  • Loading branch information
atti187 committed Jan 20, 2022
1 parent 35ca17a commit d9a0ca1
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -34,5 +34,5 @@ function resolveAbsoluteRuntime(moduleName: string, dirname: string) {
}

export function resolveFSPath(path) {
return require.resolve(path);
return require.resolve(path).replace(/\\/g, "/");
}

0 comments on commit d9a0ca1

Please sign in to comment.