gulp-ruby-sass

gulp plugin gulp-ruby-sass not compiling

让人想犯罪 __ 提交于 2020-01-01 10:17:22
问题 Gulp plugin gulp-ruby-sass (https://github.com/sindresorhus/gulp-ruby-sass) giving not compiling, the error message in terminal coming like this 👇 Error: must provide pattern Here is the gulpfile.js details var gulp = require('gulp'), uglify = require('gulp-uglify'), sass = require('gulp-ruby-sass'); gulp.task('styles', function (argument) { gulp.src('sass/app.scss') .pipe(sass()) .pipe(gulp.dest('css/')); }); 回答1: The gulp-ruby-sass syntax has been changed: instead of: it is now: gulp.task(

gulp plugin gulp-ruby-sass not compiling

余生颓废 提交于 2020-01-01 10:17:08
问题 Gulp plugin gulp-ruby-sass (https://github.com/sindresorhus/gulp-ruby-sass) giving not compiling, the error message in terminal coming like this 👇 Error: must provide pattern Here is the gulpfile.js details var gulp = require('gulp'), uglify = require('gulp-uglify'), sass = require('gulp-ruby-sass'); gulp.task('styles', function (argument) { gulp.src('sass/app.scss') .pipe(sass()) .pipe(gulp.dest('css/')); }); 回答1: The gulp-ruby-sass syntax has been changed: instead of: it is now: gulp.task(

Error No such file or directory during Gulp-Ruby-Sass Task

[亡魂溺海] 提交于 2019-12-25 04:26:50
问题 I'm using Gulp as my task runner, and gulp-ruby-sass to compile my sass files into css. The error I'm getting on my gulp default task: My default Gulp task: gulp.task('default', ['delete', 'web_css', 'dash_css', 'web_js', 'dash_js']); My 2 compile SASS tasks: // Compile public SASS gulp.task('web_css', function() { return sass('client/website/_sources/sass/bitage_web.scss', { style: 'compressed' }) .pipe(sourcemaps.init()) .pipe(sourcemaps.write('./maps')) .pipe(gulp.dest('client/website

TypeError: glob pattern string required

谁说胖子不能爱 提交于 2019-12-04 18:54:12
问题 I'm trying to compile sass using gulp-ruby-sass but I'm getting TypeError: glob pattern string required . This is what my gulpfile.js looks like: var gulp = require('gulp'), sass = require('gulp-ruby-sass'); var paths = { sassSrcPath: ['Content/css/**/*.scss'], sassDestPath: ['build/css/'], sassImportsPath: ['Content/styleguide/'] }; // Styles Task gulp.task('styles', function () { gulp.src(paths.sassSrcPath) .pipe(sass({ style: 'compressed', loadPath: [paths.sassImportsPath] })) .pipe(gulp

gulp plugin gulp-ruby-sass not compiling

末鹿安然 提交于 2019-12-04 05:41:06
Gulp plugin gulp-ruby-sass ( https://github.com/sindresorhus/gulp-ruby-sass ) giving not compiling, the error message in terminal coming like this 👇 Error: must provide pattern Here is the gulpfile.js details var gulp = require('gulp'), uglify = require('gulp-uglify'), sass = require('gulp-ruby-sass'); gulp.task('styles', function (argument) { gulp.src('sass/app.scss') .pipe(sass()) .pipe(gulp.dest('css/')); }); The gulp-ruby-sass syntax has been changed: instead of: it is now: gulp.task('styles', function (){ gulp.task('styles', function (){ gulp.src('sass/app.scss') return .pipe(sass()) sass