mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-03 08:37:49 +00:00
Skip pseudo-private aliases.
This commit is contained in:
@@ -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'));
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user