Skip to content
This repository has been archived by the owner on Oct 9, 2020. It is now read-only.

Commit

Permalink
fix sync normalization bug
Browse files Browse the repository at this point in the history
  • Loading branch information
guybedford committed Jun 12, 2016
1 parent 4a32a41 commit eabc810
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ function getAlias(loader, canonicalName) {
return;

// get mapped without defaultJSExtension
var mapped = getCanonicalName(loader, loader.normalizeSync(loader.map[alias]));
var mapped = getCanonicalName(loader, loader.decanonicalize(loader.map[alias]));

// do matching with defaultJSExtension checking
if (loader.defaultJSExtensions && canonicalName == mapped + '.js') {
Expand Down

0 comments on commit eabc810

Please sign in to comment.