mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-01-29 06:27:49 +00:00
Ensure remapped fp method modules are created.
This commit is contained in:
@@ -82,9 +82,11 @@ function build(target) {
|
||||
'ignore': path.join(target, '_*.js')
|
||||
});
|
||||
|
||||
// Add FP alias module paths.
|
||||
_.forOwn(aliasToReal, function(realName, alias) {
|
||||
modulePaths.push(path.join(target, alias + '.js'));
|
||||
// Add FP alias and remapped module paths.
|
||||
_.each([mapping.aliasToReal, mapping.key], function(data) {
|
||||
_.forOwn(data, function(realName, alias) {
|
||||
modulePaths.push(path.join(target, alias + '.js'));
|
||||
});
|
||||
});
|
||||
|
||||
modulePaths = _.uniq(modulePaths);
|
||||
|
||||
Reference in New Issue
Block a user