enb-sass
Provides the node-sass
features for project-builder enb
(https://github.com/enb-make/enb).
Installing
npm install enb-sass --save
Options
- String target contains target file name. Default:
?.css
- String filesTarget contains file masks, according to which a list of source files is created. Default:
?.files
. - Array sourceSuffixes Files suffixes that will be used. Default:
css
- Object sass
node-sass
options. Read more: https://github.com/sass/node-sass#options. Default: defaultnode-sass
options.
Usage
Default use
nodeConfig;
Collecting only scss files
nodeConfig;
node-sass
compression and debug mode
Use nodeConfig;
node-sass
compression and debug mode
Collecting ie and ie8 css/scss files with nodeConfig;
Used in
- Yandex TV https://tv.yandex.ru/
- Kinopoisk https://kinopoisk.ru/
Thanks
- Abramov Andrew (@blond). For the support and correct answers.
- Filatov Dmitry (@dfilatov). For
vow
,vow-fs
,inherit
. - Georgy Krasulya (@gkrasulya). For
rich error reporting
.