我有这个样子一饮而尽任务: gulp.task('compressjs', function() {
gulp.src('local/**/*.js')
.pipe(sourcemaps.init())
// purpose compress here is only to give better error report
.pipe(uglify())
咕嘟咕嘟新手,我下载gulp-order为concating 当JS订货文件* .js文件 因为我的一些JavaScript文件要求jQuery的第一加载。 下面是我的gulpfile.js,它有顺序,concat,重命名& uglify。 var date = new Date();
var uniq = date.getTime();
gulp.task('admin-scripts',