magnet-plugin-sass
v2.1.1
Published
Magnet plugin for compiling Sass stylesheets
Downloads
3
Readme
magnet-plugin-sass
A magnet plugin for compiling your sass stylesheets.
Usage
Add the following to your magnet.config.js
:
/**
* Stylesheet should be served from '/css/index.css'
*/
module.exports = {
magnet: {
plugins: [
'function',
'controller',
'sass'
],
pluginsConfig: {
sass: {
src: 'src/stylesheets/index.scss'
}
}
}
};
All options in the sass
config will also be passed to node-sass
.