enb-sass
![Dependency Status](https://camo.githubusercontent.com/e1ba0d1eb6486606f4819a12d60c5e9688e2eb095f791490503babeb57e07e98/68747470733a2f2f64617669642d646d2e6f72672f656e622d6d616b652f656e622d736173732e737667)
Provides the node-sass
features for project-builder enb
(https://github.com/enb-make/enb).
npm install enb-sass --save
- 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.
nodeConfig.addTech([
require('enb-sass')
]);
nodeConfig.addTech([
require('enb-sass'), {
target: '?.css',
sourceSuffixes: ['scss']
}
]);
Use node-sass
compression and debug mode
nodeConfig.addTech([
require('enb-sass'),
{
target: '?.css',
sourceSuffixes: ['scss'],
sass: {
outputStyle: 'compressed',
sourceComments: true
}
}
]);
Collecting ie and ie8 css/scss files with node-sass
compression and debug mode
nodeConfig.addTech([
require('enb-sass'),
{
target: '?.css',
sourceSuffixes: ['css', 'scss', 'ie.css', 'ie.scss', 'ie8.css', 'ie8.scss'],
sass: {
outputStyle: 'compressed',
sourceComments: true
}
}
]);
- Yandex TV https://tv.yandex.ru/
- Kinopoisk https://kinopoisk.ru/
- Abramov Andrew (@blond). For the support and correct answers.
- Filatov Dmitry (@dfilatov). For
vow
,vow-fs
,inherit
. - Georgy Krasulya (@gkrasulya). For
rich error reporting
.