gulp學習筆記1 uglify

做用:Minify JavaScriptgulp

var gulp = require('gulp')
var uglify = require('gulp-uglify')

gulp.task('default',function () {
    gulp.src('app/js/*.js')
        .pipe(uglify())
        .pipe(gulp.dest('app/minjs'))
})
相關文章
相關標籤/搜索