Skip to content

Commit

Permalink
fix for windows (#760)
Browse files Browse the repository at this point in the history
  • Loading branch information
jchip authored Mar 23, 2018
1 parent 9631384 commit e77b81e
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,8 @@ module.exports = class ModuleResolver {
//
const resolved = optionalRequire.resolve(
requireAt(atPath),
Path.join(name, "package.json"),
// ensure require request paths are POSIX
Path.posix.join(name, "package.json"),
false
);

Expand Down

0 comments on commit e77b81e

Please sign in to comment.