Questions tagged as 'gulp'

1
answer

Deploy with GIT x Deploy with Gulp

I still can not figure out what the best deploy of a site is. I explain the way I'm doing: GIT I started a local repository I hosted my repository on some service like GitHub / Bitbucket I joined the server via SSH and clone the dir...
asked by 09.07.2015 / 13:34
1
answer

Gulp Tasks with Command Line Parameters

Work with a simple task of Gulp , created to perform a deploy in the production environment. In a simplified way, the task is: gulp.task('deploy-prod', function () { return gulp.src('dist/**') .pipe(sftp({ h...
asked by 15.06.2016 / 15:38
2
answers

Calculation of .scss for .sass

I'm 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 =col($cols) width: calc(((100% *...
asked by 20.11.2016 / 23:27
2
answers

Gulp + Bower - How to import the components installed by Bower for my final project

I'm starting to manage my components with Bower and I have a question: I use Gulp to perform tasks such as compiling my less files, concatenating javascripts, but since the Bower components are inside the bower_components I do not know how...
asked by 19.07.2015 / 20:41
2
answers

Problem with accentuation in .js after concat and uglify in Gulp

I'm trying to optimize the website of the organ where I work and I'm having problems after concatenating and minifying the javascripts. Our Apache server uses ISO-8859-1 and all of my files in PHPStorm are configured on the same charset. A...
asked by 10.08.2015 / 16:26
1
answer

Gulp task does not run (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 understood from documentation , this code should do the following:...
asked by 03.06.2015 / 14:50
1
answer

Gulp Task - Compile Stylus for CSS

After a lot of fighting, I started to page my portfolio. I used to use a few things I was learning, among them the Gulp and Stylus. For CSS construction I am using ITCSS methodology (understood as architecture). However, at the time of running t...
asked by 27.01.2016 / 22:12
1
answer

Gulp Watch Custom

This is my current Gulpfile and as I am using it a lot, I would like to create a GULP WATCH that would perform uglify whenever the files were changed. var gulp = require('gulp'); var uglify = require('gulp-uglify'); var pump = require('pump');...
asked by 08.02.2017 / 18:50
2
answers

Use 2 different frameworks in the same CSS?

I started my internship today and the first task I received was to find out if it's possible to use two files in a single, minimized CSS. normal compilation and minification, to generate the only CSS, or is this not possible? Also,...
asked by 01.11.2017 / 03:46
1
answer

Problem running gulp

My Gulp worked normally, from one hour to another started to present this error: The file /var/www/html/dna/public/css/app.css is allowed 777. Contents of the gulpfile.js file var elixir = require('laravel-elixir'); elixir(...
asked by 08.09.2016 / 16:34