Skip to content

Instantly share code, notes, and snippets.

@phpsmarter
Created January 23, 2022 03:29
Show Gist options
  • Save phpsmarter/9bffa489b3cfdae16ade5903ee46715d to your computer and use it in GitHub Desktop.
Save phpsmarter/9bffa489b3cfdae16ade5903ee46715d to your computer and use it in GitHub Desktop.
gulp.task('js', function () {
gulp.src('./js/*.js')
.pipe(uglify())
.pipe(concat('all.js'))
.pipe(gulp.dest('./js'));
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment