gulp-scss is not working for me -
i trying switch gulp-sass gulp-scss surprisinly not working me. have checkedin code in following git hub.
https://github.com/dilipkumar2k6/gulp-sass
"gulp sass" working because using gulp-sass module. "gulp scss" not working because using "gulp-scss". following gulp task.
'use strict'; var gulp = require('gulp'); var sass = require('gulp-sass'); var scss = require("gulp-scss"); gulp.task('sass', function () { gulp.src('./src/application/**/*.scss') .pipe(sass().on('error', sass.logerror)) .pipe(gulp.dest('./dist/sass')); }); gulp.task("scss", function () { gulp.src( "./src/application/**/*.scss" ).pipe(scss( {"bundleexec": true} )).pipe(gulp.dest('./dist/scss')); });
is there specific reason why have use gulp-scss?
you don't have use gulp-scss module in order compile .scss files. gulp-scss bit unpopular, should stick gulp-sass module , in code specify ".pipe(sass())" - compile either .scss or .sass files down .css files
Comments
Post a Comment