diff --git a/react-packager/src/DependencyResolver/Module.js b/react-packager/src/DependencyResolver/Module.js index 745ab3fb..b34a2568 100644 --- a/react-packager/src/DependencyResolver/Module.js +++ b/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, '/'); }); }) );