Add lodash.underscore.min.js.

Former-commit-id: 15592a33a6f6979a1d60632a6ade3c341f13d0e7
This commit is contained in:
John-David Dalton
2012-09-30 02:04:16 -07:00
parent 9cc11b8774
commit 06f4743f51
3 changed files with 43 additions and 3 deletions

View File

@@ -1411,7 +1411,9 @@
!_.isEqual(exportsOptions, exportsAll);
// used to name temporary files created in `dist/`
var workingName = 'lodash' + (isTemplate ? '.template' : isCustom ? '.custom' : '');
var workingName = outputPath
? path.basename(outputPath, '.js')
: 'lodash' + (isTemplate ? '.template' : isCustom ? '.custom' : '');
// restore `dependencyMap`
dependencyMap = dependencyBackup;
@@ -1427,7 +1429,9 @@
}
// begin the minification process
if (!isDebug) {
workingName += '.min';
if (!outputPath) {
workingName += '.min';
}
minify(source, {
'isSilent': isSilent,
'isTemplate': isTemplate,