-
-
Notifications
You must be signed in to change notification settings - Fork 77
Can't find import with 0.6.0 #73
Comments
Same here. Sass-Cache cleaned. Sass 3.3.9 (Maptastic Maple)
Gulp Sass Task gulp.task('styles:scss', function () {
return gulp.src(['app/styles/*.scss'])
.pipe($.rubySass({
style: 'expanded',
precision: 10,
sourcemap: true,
sourcemapPath: '.',
loadPath: ['app/styles']
}))
.on('error', function (err) {
console.log(err);
})
.pipe($.autoprefixer(['last 2 versions', '> 1%', 'ie 9', 'ie 10']))
.pipe(gulp.dest('.tmp/styles'))
.pipe($.size({title: 'styles:scss'}));
}); |
You have to pass every file that Sass needs to compile your stylesheets to the If you want to fake it with Third person today to post this issue, I'll add to the docs tonight. |
@robwierzbowski thanks for the dedication. |
@gisu, @MariusRumpf: A little documentation for ya: https://github.com/sindresorhus/gulp-ruby-sass/blob/master/readme.md#usage |
Thanks works now :) |
@robwierzbowski nice and fast work. |
@robwierzbowski Am I missing something (?), because I still don't see anything in the readme documenting this. I do see the sentence "Add the files you want to compile to gulp.src()." but that wasn't enough for me, at least, to understand how I could make this new version work. The example you give above ( The clearest explanation I found was in the release notes:
... and figuring that Sass "needs" the |
@davidtheclark With the latest master you don't need to add all the files needed to compile your stylesheets anymore. You can add one or more stylesheets by themselves just like 0.5.0. To install the latest master, use |
Cool, thanks! That's what I missed. |
No problem! |
Hi,
i have testet the new Gulp-Ruby-Sass Task 0.6.0.
Gulp 3.8.5
sass-cache is cleaned
After Gulp Compile i get this
Only for the understanding. In my config i work in a _workfile.scss, jacket route the stuff in different scss files (style.css, style-ie8.css).
Gulp-Sass Task
The text was updated successfully, but these errors were encountered: