Created
November 14, 2016 20:50
-
-
Save mkoller/82898f2ecf26e659479176424f00aec8 to your computer and use it in GitHub Desktop.
Gulp Uglify
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gulp.task('compress', function (cb) { | |
pump([ | |
gulp.src('js/*.js'), | |
uglify(), // minifies js in same location | |
gulp.dest('js') | |
], | |
cb | |
); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment