mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-10 02:47:50 +00:00
lodash: Fix build. [jddalton]
Former-commit-id: 71e00490e203ad60e51293f25a7a20e0ed305fef
This commit is contained in:
@@ -154,7 +154,7 @@
|
||||
// add `true` and `false` arguments to be minified
|
||||
if (/function iterationFactory/.test(snippet)) {
|
||||
result = result
|
||||
.replace(/(Function\('[\w\s,]+)undefined/, '$1true,false,undefined')
|
||||
.replace(/(Function\('[\s\S]+?)undefined/, '$1true,false,undefined')
|
||||
.replace(/\)\([^)]+/, '$&,true,false');
|
||||
|
||||
// replace with modified snippet early and clip snippet
|
||||
|
||||
Reference in New Issue
Block a user