I want to run gulp-sass and after that check, what is the size of the generated css file.  If I have the following in my gulpfile:  gulp.task('sass', function () {    gulp.src('src/scss/style.scss')     .pipe(sass.sync().on('error...
I'm using Gulp to dome some tasks on my SCSS and CSS. Now the problem is that when I run Gulp it's starting the watch but nothing is happening: no css is being created. I triple checked the folder structure and it's can.  This is my code:...
I'm new with js, node and all things related. I'm trying to set up a front end development environment from scratch, using gulp, bower, browser sync, and other plugins.  I'm almost done, it's working in some way, except for a couple o...
I am working with the latest version of Node, Gulp and gulp-cli. My gulpfile.js is exactly like this. Trying out gulp to teach myself.  var gulp = require('gulp'),     sass = require('gulp-sass');   gulp.task('default', functi...
Trying to run through this tutorial to get a beginner's feel:  https://www.youtube.com/watch?v=nusgoj74a3Y  Currently getting this error when running gulp, any ideas?:  gulpfile.js  'use strict';   //dependancies var gulp = require('g...
I'm new to gulp and want to add bootstrap to my project. I already added SASS Bootstrap. That was no problem because I found a good documentation. Now I also need to add the javascript of bootstrap to my project. I tried to follow  this documenta...
I'm trying to prefix my images in my scss files, for example in my scss file I have  background-image: image-url('/img/bg.png')   which should be transformed in the css file to  background-image: url('/barfoo/img/bg.png');   In my...
Say I have the file structure:  styles     truly         very             deep                 afile.sass   And the desired output is   styles     truly         very             afile.css             deep                 afile.sass     What I've...
i tried to make the src path dynamic and it worked but it messed up the dest somehow   var gulp = require('gulp'); var sass = require ('gulp-sass'); var sassUrl = '**/style.scss';  // compile sass gulp.task('compile-sass&#...
I have a gulp task that I wrote that used to work perfectly. One day I came in and it stopped working, even though I did not change the gulpfile.  I have a BrowserSync task that injects styles into the browser, a sass task that compiles all the sass...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.