Answer the question
In order to leave comments, you need to log in
Is it possible to duplicate tasks?
Hello everyone, there is the following task .
var gulp = require('gulp');
gulp.task('registration', function () {
return gulp.src('user/registration/index.html') // беру файл index.html из user/registration
.pipe(gulp.dest('../dist/user/registration/')) // кладу его в dist/user/registration
});
gulp.task('default, ['registration']); // запускаю gulp, всё ОК
gulp.task('selling', function () {
return gulp.src('user/pages/selling.html')
.pipe(gulp.dest('../dist/user/pages/'))
});
gulp.task('login', function () {
return gulp.src('user/login/login.html')
.pipe(gulp.dest('../dist/user/login/'))
});
gulp.task('default, ['registration', 'selling', 'login']);
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question