Most voted "gulp" questions
Gulp is a task automator whose ultimate goal is similar to Grunt’s. Gulp takes advantage of nodejs streams, and uses code instead of configuration, promoting a construction of tasks in a simpler and more intuitive way.
Learn more…85 questions
Sort by count of
- 
		7 votes1 answer308 viewsDeploy with GIT x Deploy with GulpI still can’t figure out which is the best deploy on a site. I explain how I’m doing: GIT I started a local repository I hosted my repository on some service like Github/Bitbucket I hacked into the… 
- 
		5 votes1 answer355 viewsGulp tasks with command line parametersI 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/**')… 
- 
		5 votes2 answers477 viewsCalculation of . scss for . SassI am creating a dynamic grid system using Sass and Gulp-Sass to compile. I have this code: $col-margin: 15px .row width: 100% max-width: 1170px margin: 0 auto display: flex flex-wrap: wrap // cols… 
- 
		3 votes1 answer84 viewsGulp task does not rotate (but turns callback)I have a task in Gulp, defined more or less like this: gulp.task('tarefa', ['a', 'b', 'c'], function () { console.log("tarefa executada com sucesso"); }); From what I understand of documentation,… gulpasked 10 years, 4 months ago Oralista de Sistemas 23,115
- 
		3 votes2 answers129 viewsGulp + Bower - How to import Bower installed components for my final projectI’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… 
- 
		3 votes2 answers425 viewsProblem with accentuation in . js after Concat and uglify in GulpI’m trying to optimize the organ site where I work and I’m facing problems after concatenating and minifying the Avascripts. Our Apache server uses ISO-8859-1 and all my files in Phpstorm are… 
- 
		3 votes1 answer151 viewsGulp Task - Compile Stylus for CSSAfter a lot of fighting, I started making the page of my portfolio. I took the opportunity to use a few things I was learning, among them the Gulp and Stylus. For the construction of CSS I am using… 
- 
		3 votes1 answer228 viewsGulp task using (usemin)I recently started using Gulp in an existing project. I created the following gulpfile.js: var gulp = require('gulp'), imagemin = require('gulp-imagemin'), clean = require('gulp-clean'), concat =… 
- 
		2 votes1 answer92 viewsError in Gulp installationI am installing Gulp on my Windows 7 by the command gulp . But you’re giving me the following mistake: [11:21:03] Error in plugin 'gulp-bower' Message: Failed to execute "git ls-remote --tags… 
- 
		2 votes2 answers1652 viewsSend specific branch with Git to Githubhow I can send a specific branch to Github through Git? I am creating a project to learn how to use Gulp and its plugins, and in it I created a folder with source code, called src and a folder… 
- 
		2 votes2 answers460 viewsUse 2 different frameworks in the same CSS?I started my internship today and the first task I received was to find out if it is possible to use two files in a minified CSS. About minificar I’ve already learned using node and gulp, I’ll use… 
- 
		2 votes1 answer134 viewsProblem running the GulpMy Gulp functioned normally, from one hour to another began to present this error: The archive /var/www/html/dna/public/css/app.css is with permission 777. Contents of the gulpfile.js file var… gulpasked 9 years, 1 month ago Amanda Lima 3,428
- 
		2 votes1 answer210 viewsTrouble at startar Gulp servesGood afternoon, I’m creating a portal in Angularjs and Node. After installing npm in the workbook npm install and Ben bower install The tutorial asks for the command to be done gulp serve, but this… 
- 
		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… 
- 
		2 votes1 answer178 viewsGulp Watch CustomizadoThis is my current Gulpfile and as I am using it a lot, I would like to create a GULP WATCH that performs the uglify whenever the files are changed. var gulp = require('gulp'); var uglify =… 
- 
		2 votes1 answer107 viewsPolyfill with Gulp and BabelI’m trying to polyfill a script to work with IE8+, but it solves some problems but generates others: My configuration of .babelrc { "presets": [ [ "@babel/preset-env", { "targets": { "edge": "17",… 
- 
		1 votes1 answer295 viewsProblem when installing GulpI’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 answer348 viewsHow to use Bower components using GulpI use the Gulp to help me in the development, even then beauty if I need the bootstrap or jquery low put in the folders I choose and ok, but I would like to use the bower, but I didn’t quite… 
- 
		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 answer451 viewsDoes compressing all Nodejs JS files (node_modules) decrease performance?In my application I am using Gulp to compress all my files JS inside the case node_modules, my question is on performance, it is a bad practice to do this or not? If you have any suggestions will… 
- 
		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 votes1 answer126 viewsMinification in the GulpSomeone knows how to minify js and css files at runtime. For example : In the HTML file, the call to the Javascript file looks like this : <script… 
- 
		1 votes0 answers56 viewsproblems with Gulptalks guys, I started doing some tests with Yarn and Gulp. It was all going well, but yesterday I downloaded a template (this template https://github.com/Merukeru/angular1-gulp-template), I did the… 
- 
		1 votes0 answers151 viewsHow can I use Gulp-Stylus, Jeet and rupture with Gulp-load-pluginsIf I use Stylus with Jeet and Rupture, my gulpfile.js would look like this: .pipe(stylus({ use:[prefixer(), jeet(), rupture()], compress: true })) Now, I modularized my Gulp tasks with… 
- 
		1 votes1 answer40 viewsCondition to ignore ".min.js" filesI 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 answer246 viewsCopy the font folder using Gulp?How to create a task to copy the bootstrap font folder to the build folder? I created the following task but it’s not working. var config = { assets_path: './resources/assets', build_path:… 
- 
		1 votes1 answer44 viewsGulp Watch JS infinite loopI’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 answer103 viewsTake version control of Git and save to a PHP constantThere is a possible way to save within the PHP code the GIT hash or a version numbering automatically each time you push, or by Javascript, using Gulp, save the version in PHP? I would like to do… 
- 
		1 votes0 answers62 viewsGulp Concat does not workGood morning. I am unable to concatenate the Angularjs files using the Gulp Concat module. I tried to change the directory file and it still doesn’t work. The problem is that I don’t see any error,… 
- 
		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 answer1526 viewsHow do I use vueJS with Gulp?I’m working on a little project using Gulp and wanted to learn a little more than vue.js then I want to use in the project, but I can’t find anything clear (for me) on the internet of how to… 
- 
		1 votes1 answer35 viewsHelp with the GulpjsI’m having a bit of a problem with Gulp’s tasks. I am trying to listen to the changes of the files with watch and update the browser with Sync browser. Follows the code: var gulp = require('gulp');… 
- 
		1 votes1 answer185 viewsHow to use a Gulp file for production and development?I was researching how to create a Gulp file that understands how to differentiate when it comes to production and when it comes to development. I found the plugin below, and would like to know if… 
- 
		1 votes0 answers33 viewsHow to use Gulp to auto copy source files when compiling scss?I’m using Gulp with Gulp-Sass to build my css files. I would like to build the SCSS source files referenced by @font-face within the style be automatically copied to Assets/fonts, while the css… 
- 
		1 votes0 answers92 viewsASP.NET Core NPM and webpack/GulpI created a project in Asp.net core using the Empty template (dotnet new web). For what I searched, to add packages like Bootstrap or jquery, we have to use NPM, which is basically to add the… 
- 
		1 votes1 answer15 viewsGulp watch shows a lot of Eslint errors. Which dependencies are missing?I made git clone of an app Ionic 1 done with the Generator-M-Ionic I have taken the following steps to install the dependencies: npm install bower install npm install --global gulp-cli And the… 
- 
		1 votes0 answers32 viewsHow to organize gulpfile.js for processing Sass, js, img and html?After much effort and countless attempts, I managed to write a gulpfile.js that meets my needs regarding file build Sass, js, img and html, however, I’m still having some problems. First we go to… 
- 
		1 votes0 answers38 viewsHow to replace html tags and save to a new fileI’m trying to check a file .html, remove some tags and create a new file with the changes made. In the method that I am using at the moment (js, Gulp) I end up doing several Restplaces in chain, I… 
- 
		1 votes1 answer75 viewsCustomize output path of converted files by Gulp markdown itI was keeping up this step by step, and then came the need for the markdown files converted to html to be in another folder. View the file code gulpfile.js: var gulp = require('gulp'); var markdown… 
- 
		1 votes0 answers25 viewsRecover directory where apk was created by Gulp with Cordova-lib pluginGood night, I’m having a problem to recover the directory where the apk file was generated. I use the Cordova-lib plugin in Gulp to build an Ionic application. The "real" problem is that I can’t… 
- 
		1 votes1 answer133 views
- 
		1 votes0 answers79 viewsError installing Gulp-imagemin via NPMI am trying to install Gulp-imagemin for image optimization via NPM but errors are occurring. When I run the following command on the terminal, permission errors return. sudo npm install… 
- 
		1 votes1 answer647 viewsHow to set up Gulp.task default Sass and watchhello I’m having some problems configuring gulpfile.js to automate the conversion of Sass to css in the test project, below I explain the environment and errors presented Folder structure //layout |… 
- 
		1 votes2 answers43 viewsDoubt when migrating Gulp codeGood evening, I would like to know how to update this code snippet from Gulp 3 to Gulp 4. Everything before worked perfectly, I was updating the lib for vulnerabilities and now appears the following… 
- 
		1 votes0 answers21 viewsHow to load modules concatenated with Gulp in Requirejs?My project has several AMD modules being loaded into the browser by Requirejs. However, I am migrating from Javascript to Typescript and also want to use Gulp to transpose to Javascript and generate… 
- 
		0 votes2 answers368 viewsGulp Sass does not workSo far everything worked on Gulp perfectly, except the Sass. My Code: var sass = require('gulp-ruby-sass'); gulp.task('styles', function(){ gulp.src('./src/scss/**/*.scss') .pipe(sass())… 
- 
		0 votes1 answer216 views
- 
		0 votes1 answer63 viewsFilter with Angularjs and GulpI’m creating a filter for the angular using the compiler Gulp however I am having an error and when analyzing the compiled code it seems that is compiling something wrong, what could be? Filter:… 
- 
		0 votes1 answer72 viewsError running Gulp --Production Vagrant Laravel/HomesteadI set up an environment laravel/homestead to study the Laravel 5.1 , when trying to execute the command gulp --production get the error below: Error: Cannot find module 'strip-bom' at… 
- 
		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…