Package Exports
- hexo-renderer-less
- hexo-renderer-less/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (hexo-renderer-less) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Less renderer
Add support for Less.
Install
$ npm install hexo-renderer-less --save
Configure
In your theme configuration,
# themes/yourtheme/_config.yml
less:
paths: []
options:
- paths: Array of include paths.
- e.g. to include Bower Bootstrap,
['bower_components/bootstrap/less']
- globbing is also supported,
['bower_components/bootstrap/**']
- e.g. to include Bower Bootstrap,
- options: Less.js options.
- Example:
less: options: globalVars: var1: 'some value'