Gulp can't seem to find compass mixins

前端 未结 3 952
说谎
说谎 2021-01-16 01:37

I am trying out gulp as an alternative build tool to Grunt, to compile my scss to css, as I have heard it can be much faster.

I having problems doing even a basic co

3条回答
  •  南方客
    南方客 (楼主)
    2021-01-16 02:09

    Notice that gulp-ruby-sass has a new syntax which should look like:

    gulp.task('compass', function () 
      sass(../sass/UK/screen.scss, { compass: true, sourcemap: true, style: 'compressed' })
      .pipe(gulp.dest('../css/UK/screen.css'));
    });
    

提交回复
热议问题