FIX: Aliases for require functioning (#8387)

This commit is contained in:
Mark VanLandingham 2019-11-21 11:39:50 -06:00 committed by GitHub
parent d7b710194d
commit 5ba63f8a98
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -262,6 +262,7 @@ var define, requirejs;
}
requirejs = require = function(name) {
name = transformForAliases(this.name);
if (EMBER_MODULES[name]) {
return EMBER_MODULES[name];
}