src/*.js') .pipe(gulpif(condition, uglify())) .pipe(gulp.dest('./dist/')); });. 如果条件为真,则压缩内容,将所有文件发送到dist文件夹.
確定! 回上一頁