mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-10 10:57: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')
|
'ignore': path.join(target, '_*.js')
|
||||||
});
|
});
|
||||||
|
|
||||||
// Add FP alias module paths.
|
// Add FP alias and remapped module paths.
|
||||||
_.forOwn(aliasToReal, function(realName, alias) {
|
_.each([mapping.aliasToReal, mapping.key], function(data) {
|
||||||
modulePaths.push(path.join(target, alias + '.js'));
|
_.forOwn(data, function(realName, alias) {
|
||||||
|
modulePaths.push(path.join(target, alias + '.js'));
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
modulePaths = _.uniq(modulePaths);
|
modulePaths = _.uniq(modulePaths);
|
||||||
|
|||||||
Reference in New Issue
Block a user