Questions tagged as 'gulpjs'

1
answer

Server in gulp and grunt

I've been researching but I believe I'm not asking the right questions. I want to use gulp instead of grunt but how do I run a "grunt server" using gulp? Why the gulp watch has nothing to do with using a certain access door? My problem with g...
asked by 02.08.2015 / 16:05
0
answers

Gulp and browsersync (gulp --nobrowser)

Talk to me, good afternoon, I have the following problem: I have the following tasks in my gulpfile.js var gulp = require('gulp'), cssmin = require('gulp-cssmin'), rename = require('gulp-rename'), uglify = require('gulp-ugli...
asked by 03.01.2019 / 19:49
0
answers

Error to run task with gulp 4.0.0

I'm having trouble running the below task with gulp in version 4.0. The problem occurs when I'm trying to run dependencies. Would anyone know why? const gulp = require("gulp"), imagemin = require("gulp-imagemin"), clean = r...
asked by 13.12.2018 / 21:59
1
answer

Gulp JS File Automation

My question is as follows, I have a .js file in my code that contains a bunch of variables that only change their value. Example: var teste = "http://desenvolvimento.com.br"; var teste = "http://producao.com.br"; After running the gulp I...
asked by 04.07.2018 / 20:31
0
answers

I can not run the gulp command

I installed gulp globally and tb gulp-cli. however when I run the gulp command it displays the following error:     
asked by 27.06.2018 / 05:19
0
answers

put exception of just one folder in src of gulp

I would like to put gulp in a laravel project, and before uploading this project to production I always need to delete a folder called config. How do I do that when creating a new folder (which would be the production folder) read the whole fold...
asked by 08.03.2018 / 17:01
0
answers

Transform external style sheets to inline css with gulp

Good afternoon, I'm looking for information about the Gulp feature that transforms external style sheets into inline css using the inline attribute. Ex: <link inline href="styles/estilo.css" rel="stylesheet" type="text/css"> Cou...
asked by 12.01.2018 / 19:52
1
answer

Error in minification of images with Gulp in Laravel

I'm trying to make the gulp minify the images of my project. My project is laravel 5.3 and I'm using the laravel-elixir-imagemin thumb to minify, but when I give the command gulp imagemin the following result appears: Please no...
asked by 08.06.2017 / 22:26
0
answers

Gulp Task - Return within a variable

There is a way to play the response of a task, rather than a file, a variable, with the same content as the file ... _content.code = gulp.src(path_haml).pipe(haml()); I want to automate a task and I think it would be very useful for me.   ...
asked by 06.04.2018 / 15:01
1
answer

Turn multiple css files into a single one with PostCSS

PostCSS usage to generate a css framework, I can use it in a good, my only problem is the output. If I have 8 CSS files the PostCSS generates and treats the 8 in new 8 files, but the ideal for me would be to merge them into a single file. Doe...
asked by 02.12.2015 / 12:56