Most voted "gulpjs" questions
Gulpjs is able to build automated system tasks like: minifying and copying all Javascript files, still images, watching the files to perform the task again automatically when a wa file changed. If the question is not about "Gulpjs", do not use this tag, even if you are using "Gulpjs" in your project.
Learn more…30 questions
Sort by count of
-
13
votes1
answer1771
viewsHow to perform automatic pull with Git?
Imagine that I have a test environment for a web application, where there is a cloned Github repository that is directly inside the server, and any modification in it already results in a real-time…
-
10
votes1
answer2752
viewsWhat are the differences between Grunt and Gulp?
I’ve heard a lot about Grunt and Gulp, but I still don’t understand what they work for exactly. my doubts, are the following: What are they for? Is there any relationship between them? They can be…
-
5
votes1
answer355
viewsGulp tasks with command line parameters
I work with a simple task of Gulp, created to realize a deploy in a production environment. In a simplified way, the task is: gulp.task('deploy-prod', function () { return gulp.src('dist/**')…
-
3
votes2
answers129
viewsGulp + Bower - How to import Bower installed components for my final project
I’m starting to manage my components with Bower and I’m having a question: I use Gulp to perform tasks like compiling my Less files, concatenating Avascripts, only how Bower components get inside…
-
2
votes1
answer299
viewsGulp insert minified file in index
Introducing I am implementing the task automator Gulp, everything is going well, minified files, concatenated and optimized. Problem Now what I need is to take the minified file ( all.min.js ) and…
-
2
votes2
answers258
viewsIs there any way to reverse javascript minification?
Once the file has been minified using, for example, the uglifyJS it is possible to make it readable again? If yes, how? Obs: Use of the GulpJS as task Runner…
-
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
answer56
viewsProblem with TFS and Gulp
When I use Gulp with TFS I have problems executing Gulp commands: TFS when checking the files, it locks the actions of Gulp, not letting it read the files checked by TFS. My solution is to give Edit…
-
1
votes1
answer295
viewsProblem when installing Gulp
I’m trying to install Gulp on Ubuntu, but it only returns me error: root@gabriel-Aspire-E1-571:/var/www/aaa/projeto# npm install --save-dev gulp npm WARN package.json [email protected] No description…
-
1
votes1
answer241
viewsHow to compile all . Less files into a single . css
I’m trying to configure Gulp in my project but when I compile the . Less files it generates a new . css for each. Less, I wanted Gulp to compile all . Less and the result was just a "result.css".…
-
1
votes1
answer79
viewsCan I use GZIP compression on files that have been minified by Gulp or Grunt?
Can I use GZIP compression on files that have been minified by Gulp or Grunt? I wonder if there is possibility that I have problems regarding this. Or if I would have an even faster upload on the…
-
1
votes1
answer89
viewsProblem in the execution of the task with Gulp & SASS?
I am creating a task that compiles, renames and simplifies files .scss for .css. My file structure is like this: assets/ |__ css/ |__ sass/ | |__ uma-pasta/ | | |__ alguns.scss | | |__ arquivos.scss…
-
1
votes0
answers237
views". js" file generated by Gulp returns the error "require is not defined"
I installed Gulp to concatenate and minify my files .js, but the following error occurs in the browser when I test the application: Uncaught ReferenceError: require is not defined I have the…
-
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
votes0
answers39
viewsHow to increase the level of image optimization using Gulp?
I have a task and would like to know how to improve image optimization? Follow my script below: gulp.task( 'build-img', () => gulp.src('assets/img/**/*') .pipe(imagemin( { interlaced: true,…
-
1
votes1
answer133
views -
0
votes0
answers121
viewsGulp.watch does not execute task
Introducing I’m using Gulp to automate my tasks, I’m using Gulp.watch to preprocess the Sass as soon as I see a change in the file: gulp.task('styles', function(){ return gulp.src(files)…
-
0
votes1
answer184
viewsServer in Gulp and Grunt
I’ve been doing some research, but I don’t think I’m asking the right questions. I want to use Gulp instead of Grunt but how do I run a "Grunt server" using Gulp? Because Gulp’s watch has nothing to…
-
0
votes1
answer197
viewsHow to livereload on a local server?
Recently I saw a lot of information about Gulp.js for front-end development. And I want to use some of its functions like livereload while developing the front end of a java application. But I can’t…
-
0
votes1
answer1042
viewsStart php server with livereload with Gulp
I started my studies with Gulp and loved livereload, but I could only with static files like this link. My goal is to start Gulp, but on the built-in php server (localhost -s Localhost:8000) or on…
-
0
votes1
answer50
viewsTurn multiple css files into a single one with Postcss
I use Postcss to generate a css framework, I can use it in a good way, my only problem is the output. If I have 8 CSS files Postcss generates me and treats the 8 in new 8 files, but the ideal for me…
-
0
votes1
answer1311
viewsnpm WARN deprecated
I tried to find solution on the net about this error and the ones I found did not work. npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue…
-
0
votes1
answer114
viewsGenerate a minified file for each file inside a folder
I set the following task to generate a minified file: gulp.task('frontend-js', function () { return gulp.src([ 'bower_components/jquery/dist/jquery.js', 'bower_components/jquery-ui/jquery-ui.js',…
-
0
votes1
answer423
viewsGulp Watch, SASS no amendment
My gulp: var gulp = require('gulp'), sass = require('gulp-ruby-sass'), imagemin = require('gulp-imagemin'), changed = require('gulp-changed'), browserSync = require('browser-sync'), livereload =…
-
0
votes2
answers328
viewsGulp Watch does not update
Hello, I’m a beginner in GULP and I have the following problem, the code below, which simply minifies the JS and the CSS, works perfectly if you rotate the functions in the default and rotate the…
-
0
votes1
answer62
viewsImage minification error with Gulp in Laravel
I am trying to make Gulp minify the images of my project. My project is Laravel 5.3 and I am using lib Laravel-elixir-imagemin Gulp to minify, only when I give the command gulp imagemin appears the…
-
0
votes1
answer19
viewsGulp JS file automation
My question is the following, I have a file . js in my code that contains a lot of variables that only changes their value. Example: var teste = "http://desenvolvimento.com.br"; var teste =…
-
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…
-
-1
votes1
answer42
viewsTools js, CSS and others
I’ve been noticing more and more tools like. Webpack.js, Gulp.js, Node.js, React.js, Less, Sass, jquery, angular. Many as close features. Others not so much. Some may work together, but won’t it…