mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-01 23:57:49 +00:00
Allow the iife command to not have %output% specified.
Former-commit-id: c11cd1d33479e64a689a2412c764be15a807c9ae
This commit is contained in:
4
build.js
4
build.js
@@ -3638,9 +3638,9 @@
|
||||
index = iife.indexOf(token);
|
||||
|
||||
source = source.match(/^\/\**[\s\S]+?\*\/\n/) +
|
||||
iife.slice(0, index) +
|
||||
(index > -1 ? iife.slice(0, index) : iife) +
|
||||
source.replace(/^[\s\S]+?\(function[^{]+?{|}\(this\)\)[;\s]*$/g, '') +
|
||||
iife.slice(index + token.length);
|
||||
(index > -1 ? iife.slice(index + token.length) : '')
|
||||
}
|
||||
}());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user