Skip to content

Instantly share code, notes, and snippets.

@MuratOrs
Created Sep 4, 2018
Embed
What would you like to do?
Задача для Gulp
gulp.task('common-js', function() {
return gulp.src([
'app/libs/jquery/dist/jquery.min.js',
'app/libs/mmenu/js/jquery.mmenu.all.min.js',
'app/js/common.min.js',
])
.pipe(concat('scripts.min.js'))
// .pipe(uglify()) // Минимизировать весь js (на выбор)
.pipe(gulp.dest('app/js'))
.pipe(browserSync.reload({stream: true}));
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment