Skip to content

Instantly share code, notes, and snippets.

@mkoller
Created November 14, 2016 20:50
Show Gist options
  • Save mkoller/82898f2ecf26e659479176424f00aec8 to your computer and use it in GitHub Desktop.
Save mkoller/82898f2ecf26e659479176424f00aec8 to your computer and use it in GitHub Desktop.
Gulp Uglify
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