Guest User

Untitled

a guest
Feb 20th, 2017
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. gulp.task('scripts', function () {
  2. return gulp.src([
  3. 'app/js/libs/jquery.magnific-popup.min.js',
  4. 'app/js/libs/slick.min.js',
  5. 'app/js/common.js'
  6. ])
  7. .pipe(concat('main.min.js'))
  8. .pipe(uglify())
  9. .pipe(gulp.dest('dist/js'));
  10. });
  11.  
  12. var plumber = require('gulp-plumber');
  13.  
  14. gulp.task('scripts', () => {
  15. return gulp.src('app/scripts')
  16. .pipe(plumber())
  17. // весь остальной код таска
  18. });
Add Comment
Please, Sign In to add comment