我有這個樣子一飲而盡任務: 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',