Skip to content

liruokemx/gulp-ug

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gulp-ug

gulp js 代码混淆

安装

npm install gulp-ug --save-dev

使用

var ug = require('gulp-ug'),uglify = require('gulp-uglify');
gulp.task('min_js', function () {
    return gulp.src(['xxx.js',])
        .pipe(uglify())    //压缩
        .pipe(ug())
        .pipe(gulp.dest('dist'));  //输出
});

About

gulp js 代码混淆

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%