Most voted "gulpfile" questions
7 questions
Sort by count of
-
2
votes0
answers47
views'Gulp' does not run through 'Git Bash'
I’m trying to run my Gulp tasks through Git Bash, but when I give the command gulp to run it brings me the following message: $ gulp bash: gulp: command not found However, I can execute using the…
-
1
votes1
answer139
viewshow to resolve the problem Task 'scripts' is not in your gulpfile
this is my gulpfile: var gulp = require('gulp'); var sass = require('gulp-sass'); var watch = require('gulp-watch'); var babel = require('gulp-babel'); var minify = require('gulp-minify'); // task…
gulpfileasked 7 years, 3 months ago Rafael Dias Zendron 67 -
1
votes1
answer40
viewsCondition to ignore ".min.js" files
I have the following task in my gulpfile.js which renames files .js for .min js.: gulp.task('js', function () { return gulp.src(paths.scripts.src) .pipe(gulpif(prod, uglify())) .pipe(rename({…
-
1
votes1
answer44
viewsGulp Watch JS infinite loop
I’m Gulp’s new student, and I did this watch if my Java files are changed, it build-js. But when I run Gulp, it compiles all right but it keeps running the build-js an infinite loop. What I did…
-
1
votes1
answer133
views -
0
votes1
answer54
viewsDefault function of Gulp
I would like to make the "tasks" below run simultaneously, as I should proceed? var gulp = require('gulp') ,clean = require('gulp-clean') ,imagemin = require('gulp-imagemin') ,cleanCSS =…
-
0
votes0
answers23
viewsIn Gulpjs, how to generate folders separated by file by "Gulp.dest()"? As if it were a widget?
I’m trying to solve a problem that so far I haven’t found a good solution. In my front-end project with Gulpjs, I am using the package Gulp-file-include to include HTML blocks and generate another…