A Sass Parser Plugin for FIS, With Dart-Sass
npm install -g fis-parser-dart-sass
fis
fis.config.set('modules.parser.sass', 'dart-sass');
fis.config.set('roadmap.ext.sass', 'css');
fis.config.set('settings.parser.dart-sass', {
/* OPTIONS */
});
fis3
fis.match('*.{sass,scss}', {
parser: fis.plugin('dart-sass', {
/* OPTIONS */
})
});
- the same API as node-sass's
includePaths
-
params type is
Array
-
eg:
/* OPTIONS */ { includePaths: [ __dirname + '/xxxx/base' ], }
-