mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-02 08:07:50 +00:00
Fix typo in build.js.
Former-commit-id: d5710a62297b824465f29a43c28882865beec971
This commit is contained in:
10
build.js
10
build.js
@@ -2050,11 +2050,6 @@
|
||||
isGlobal = _.contains(exportsOptions, 'global'),
|
||||
isNode = _.contains(exportsOptions, 'node');
|
||||
|
||||
// delete the `_.findWhere` dependency map to enable its alias mapping
|
||||
if (!isUnderscore || isLodashMethod('findWhere')) {
|
||||
delete dependencyMap.findWhere;
|
||||
}
|
||||
|
||||
/*------------------------------------------------------------------------*/
|
||||
|
||||
var isExcluded = function() {
|
||||
@@ -2072,6 +2067,11 @@
|
||||
return _.contains(methods, methodName);
|
||||
};
|
||||
|
||||
// delete the `_.findWhere` dependency map to enable its alias mapping
|
||||
if (!isUnderscore || isLodashMethod('findWhere')) {
|
||||
delete dependencyMap.findWhere;
|
||||
}
|
||||
|
||||
// methods to include in the build
|
||||
var includeMethods = options.reduce(function(accumulator, value) {
|
||||
return /^include=.*$/.test(value)
|
||||
|
||||
Reference in New Issue
Block a user