Skip to content

Commit

Permalink
Merge pull request #320 from chuckdumont/work
Browse files Browse the repository at this point in the history
Allow remapping of locale specific language bundles using loader config
  • Loading branch information
chuckdumont committed Jan 30, 2021
2 parents caf80aa + 81036ba commit bf345a5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion loaders/dojo/i18n/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ module.exports = function(content) {
localeAbsMid = localeAbsMid.substring(0, localeAbsMid.length-3);
}
bundledLocales.push(loc);
deps.push(`${localeRes}?absMid=${localeAbsMid}`);
deps.push(localeAbsMid);
});
});

Expand Down
2 changes: 1 addition & 1 deletion test/ErrorTestCases/options/missingLoader/expectedError.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module.exports = {
test: function(error) {
return /Cannot find module \'.*[\/\\]dojo.js'$/.test(error);
return /Cannot find module \'.*[\/\\]dojo.js'/.test(error);
}
};

0 comments on commit bf345a5

Please sign in to comment.