$ npm install --save hexo-renderer-dartsass
Anything specified under the key
sass in your
_config.yml files will be passed directly to the
sass.render() call. Check out the Dart Sass API docs for all available settings.
sass: outputStyle: expanded # "expanded" or "compressed"
The config object passed to dart sass is constructed by merging properties from the following locations using a least-specific-first order:
- Theme specific
- Blog root
fileis the path to be rendered, config is ignored. The same applies to data.
This plugin was created with reference to knksmith57/hexo-renderer-sass. Thank you for publishing the nice software.