标签:数组 log run bottom result led return javascrip ini
if (typeof options.sourceMapName === ‘function‘) { mapNameGenerator = options.sourceMapName; } |
?
var result; try { result = uglify.minify(availableFiles, f.dest, options); } catch (e) { console.log(e); err = new Error(‘Uglification failed.‘); if (e.message) { err.message += ‘\n‘ + e.message + ‘. \n‘; if (e.line) { err.message += ‘Line ‘ + e.line + ‘ in ‘ + availableFiles + ‘\n‘; } } err.origError = e; grunt.log.warn(‘Uglifying source ‘ + chalk.cyan(availableFiles) + ‘ failed.‘); grunt.fail.warn(err); } |
?
var unCompiledJSString = availableFiles.map(function (file) { return grunt.file.read(file); }).join(‘‘); |
?
?
标签:数组 log run bottom result led return javascrip ini
原文地址:http://www.cnblogs.com/time-is-life/p/7804206.html