A wintersmith plugin that compiles scss to css.
npm install wintersmith-libsassUpdated to use latest versions of node-sass and clean-css.



Wintersmith plugin that compiles
sass files using
node-sass and optionally minifies them
using clean-css.
This plugin is a fork of wintersmith-node-sass but mantained up to date
Install globally or locally using npm
```
npm install [-g] wintersmith-libsass
and add wintersmith-libsass to your config.json
`json`
{
"plugins": [
"wintersmith-libsass"
]
}Imports and Templates
The plugin will compile each .scss file in the contents folder to a .css.scss
file in the build folder. If you want to include files without compiling them
just place the files in the template directory instead of the contents
directory.
Minifying of css files can be turned off using the config.json
``
{
"node-sass": {
"minify": false
}
}
Extra options for clean-css
can also be set using the config.json
``
{
"clean-css": {
"keepBreaks": true,
"removeEmpty": true
}
}
If you want to add include directories for node-sass add them in theincludePaths property
```
{
"node-sass": {
"includePaths": [
"./styles"
]
}
}