diff --git a/packager/react-packager/src/DependencyResolver/Module.js b/packager/react-packager/src/DependencyResolver/Module.js index 745ab3fb089eb7..b34a2568dbefd2 100644 --- a/packager/react-packager/src/DependencyResolver/Module.js +++ b/packager/react-packager/src/DependencyResolver/Module.js @@ -56,7 +56,7 @@ class Module { return this.path; } - return path.join(name, path.relative(p.root, this.path)); + return path.join(name, path.relative(p.root, this.path)).replace(/\\/g, '/'); }); }) );