Skip pseudo-private aliases.

This commit is contained in:
John-David Dalton
2016-02-03 01:13:07 -08:00
parent 497d57ca95
commit c6a3ace553

View File

@@ -93,7 +93,9 @@ function build(target) {
// Add FP alias and remapped module paths.
_.each([mapping.aliasToReal, mapping.rename], function(data) {
_.forOwn(data, function(realName, alias) {
modulePaths.push(path.join(target, alias + '.js'));
if (!_.startsWith(alias, '_')) {
modulePaths.push(path.join(target, alias + '.js'));
}
});
});