|
5 lat temu | |
---|---|---|
.. | ||
LICENSE.md | 5 lat temu | |
README.md | 5 lat temu | |
expansive.es | 5 lat temu | |
pak.json | 5 lat temu |
Expansive plugin for Less files.
The exp-less plugin provides build tooling for stylesheets. It provides the less service to compile less stylesheets into CSS stylesheets.
A map of file dependencies may be defined so that a master Less stylesheet will be rebuilt by Expansive whenever an include stylesheet is updated.
pak install exp-less
Provides the following services:
The less service processes LESS stylesheets using the lessc utility into CSS stylesheets.
By convention, exp-less expects master Less stylesheets to be named with a '.css.less' extension and included Less files to use a simple '.less' extension.
dependencies — Explicit map of dependencies if not using "stylesheet". They property name is the master LESS stylesheet and the value contains the ingredient less stylesheets that are included by the master.
{
services: {
'less': {
enable: true,
files: [ '**.less', '!**.css.less', '!css/unwanted.css' ],
dependencies: {
'css/all.css.less' : '**.less'
},
stylesheets: [ 'css/all.css' ],
}
}
}