Skip to content

Instantly share code, notes, and snippets.

@KanwarSingh
Created January 31, 2018 23:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save KanwarSingh/aa216a2a7c20ccba5da1a570f7ee3565 to your computer and use it in GitHub Desktop.
Save KanwarSingh/aa216a2a7c20ccba5da1a570f7ee3565 to your computer and use it in GitHub Desktop.
GulpTask
gulp.task("NewTask", function() {
return gulp
.src(["./**/config/env/*.base.js"])
.pipe(debug())
.pipe(prettyData({type: ‘prettify’}))
.pipe(uglify())
.pipe(gulp.dest(‘./build/release’));
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment