Answer the question
In order to leave comments, you need to log in
Why is gulp-ruby-sass ignoring my path?
'use strict';
var gulp = require('gulp');
var gulpif = require('gulp-if');
var rename = require('gulp-rename');
var csso = require('gulp-csso');
var autoprefixer = require('gulp-autoprefixer');
var sass = require('gulp-ruby-sass');
var sassOptions = {
style: 'compressed',
'sourcemap=none': true
};
function handleError(err) {
console.log(err.toString());
this.emit('end');
}
module.exports = gulp.task('styles', function () {
return gulp.src(config.paths.src.styles)
.pipe(sass(sassOptions).on('error', handleError))
.pipe(autoprefixer('last 1 version'))
.pipe(gulpif(release, csso()))
.pipe(gulpif(release, rename(config.filenames.release.styles), rename(config.filenames.build.styles)))
.pipe(gulpif(release, gulp.dest(config.paths.dest.release.styles), gulp.dest(config.paths.dest.build.styles))); // ПРОБЛЕМА ЗДЕСЬ
});
config.paths.dest.build.styles
, but intogulp-ruby-sass: write ../../../../../cjdelgado/AppData/Local/Temp/gulp-ruby-sass/index.css
. It's been four hours now and I can't figure out what's wrong. Help me please.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question