mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-01-31 15:27:50 +00:00
Remove more unused variables in debug builds.
Former-commit-id: dd50d5d0b855a85ca8099d92288f2ca621a532fa
This commit is contained in:
4
build.js
4
build.js
@@ -2355,6 +2355,10 @@
|
||||
}
|
||||
if ((source.match(/\bcreateIterator\b/g) || []).length < 2) {
|
||||
source = removeFunction(source, 'createIterator');
|
||||
source = removeVar(source, 'defaultsIteratorOptions');
|
||||
source = removeVar(source, 'eachIteratorOptions');
|
||||
source = removeVar(source, 'forOwnIteratorOptions');
|
||||
source = removeVar(source, 'templateIterator');
|
||||
source = removeHasDontEnumBug(source);
|
||||
source = removeHasEnumPrototype(source);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user