'use strict'; var gulp = require('gulp'), // Подключаем Gulp sass = require('gulp-sass'); //Подключаем Sass пакет gulp.task('sass', function () { return gulp.src('app/sass/**/*.sass') .pipe(sass().on('error', sass.logError)) .pipe(gulp.dest('app/css')); }); 

When specifying the specific path to the app / sass / main.sass file, everything works fine, app / sass / ** / *. Scss also works.

  • "gulp-sass does not translate files without a specific app / sass / ** / *. sass" .... ".... app / sass / ** / *. scss" also works. Decide that it’s not works. - HamSter
  • app / sass / ** / *. sass doesn’t work, app / sass / ** / *. scss - and this is how it works, you need the first option - Ivan Mishurovskiy
  • well, so the files should have .sass + in the options has the parameter indentedSyntax - pepel_xD

0