Skip to content

Commit

Permalink
Find aliases whose target is at index
Browse files Browse the repository at this point in the history
  • Loading branch information
tmquinn committed Jan 17, 2018
1 parent 1268caa commit f8b282b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/loader/loader.js
Expand Up @@ -286,7 +286,7 @@ var loader, define, requireModule, require, requirejs;
var mod = registry[id] || registry[id + '/index'];

while (mod && mod.isAlias) {
mod = registry[mod.id];
mod = registry[mod.id] || registry[id + '/index'];
}

if (!mod) { missingModule(id, referrer); }
Expand Down

0 comments on commit f8b282b

Please sign in to comment.