Skip to content

Commit

Permalink
Fix config.packages rewrite
Browse files Browse the repository at this point in the history
  • Loading branch information
cdebost committed Jan 29, 2019
1 parent 4bfceb5 commit 662a4e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions require.js
Original file line number Diff line number Diff line change
Expand Up @@ -1199,8 +1199,8 @@
var rewriteLocation = location !== dependency.location;
if (rewriteLocation) {
loadingPackages[dependency.location] = loadingPackages[location];
// config.packages[location] is set by injectLoadedPackageDescription
config.packages[dependency.location] = config.packages[location];
// config.packages[dependency.location] is set by injectLoadedPackageDescription
config.packages[location] = config.packages[dependency.location];
}
return pkg;
});
Expand Down

0 comments on commit 662a4e7

Please sign in to comment.