A hexo plugin for node-sass
$ npm install --save hexo-renderer-sass
Anything specified under the key node_sass
in your _config.yml
files will
be passed directly to the sass.render()
call. Check out the node sass options docs
for all available settings.
node_sass:
outputStyle: nested
precision: 5
sourceComments: false
The config object passed to node sass is constructed by merging properties from the following locations using a least-specific-first order:
- Hardcoded Defaults (
{outputStyle: 'nested',sourceComments: false}
) - Theme specific
_config.yml
- Blog root
_config.yml
Questions, comments, concerns?