A
A
Anton2017-06-07 13:36:06
gulp.js
Anton, 2017-06-07 13:36:06

gulp error on build?

I don't understand what's the build error?
8661dd99ac7244f3854893d38f986163.png

gulp.task('build', ['removedist', 'imagemin', 'scripts', 'css-libs'], function() {

  var buildFiles = gulp.src([
    'app/**/*.php',
    'app/.htaccess',
    ]).pipe(gulp.dest('dist/'));

  var buildCss = gulp.src([
    'app/main.css',
    'app/libs.min.css',
    ]).pipe(gulp.dest('dist/'));

  var buildJs = gulp.src([
    'app/js/scripts.min.js',
    'app/js/common.js',
    ]).pipe(gulp.dest('dist/js'));

  var buildFonts = gulp.src([
    'app/fonts/**/*',
    ]).pipe(gulp.dest('dist/fonts'));

});

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergiu Mitu, 2017-06-07
@ziqq

Try it without imagemin, it's probably what's throwing the error.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question