node-juice-sass
v1.0.0
Published
_juice.scss as an npm packaged, libsass module with no changes
Downloads
2
Readme
node-juice-sass
Forked from https://github.com/kjbrum/juice/
_juice.scss as an npm packaged, libsass module with no changes.
No changes have been made to _juice.scss.
Based on version 1.0.0
###Install
npm install node-juice-sass --save-dev
Stylesheet usage
Use either method below for your chosen task runner (Gulp, Grunt, etc.), then in your stylesheet:
@import "juice";
gulp.js Usage
Using the gulp-sass plugin.
var gulp = require('gulp');
var sass = require('gulp-sass');
gulp.task('sass', function () {
gulp.src('path/to/input.scss')
.pipe(sass({
// includePaths: require('node-juice-sass').with('other/path', 'another/path')
// - or -
includePaths: require('node-juice-sass').includePaths
}))
.pipe(gulp.dest('path/to/output.css'));
});
Grunt Usage
Using grunt-sass
The grunt-sass task uses node-sass (LibSass) underneath, and is the recommended way to use Grunt with node-neat.
Example config:
grunt.initConfig({
sass: {
dist: {
options: {
// includePaths: require('node-juice-sass').with('other/path', 'another/path')
// - or -
includePaths: require('node-juice-sass').includePaths
},
files: {
'path/to/output.css': 'path/to/input.scss'
}
}
}
});