/fis-parser-dart-sass

A Sass Parser Plugin for FIS, With Dart-Sass

Primary LanguageJavaScriptMIT LicenseMIT

fis-parser-dart-sass

A Sass Parser Plugin for FIS, With Dart-Sass

INSTALL

npm install -g fis-parser-dart-sass

USE

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 */
    })
});

OPTIONS

  • the same API as node-sass's
    • includePaths
      • params type is Array

      • eg:

        /* OPTIONS */
        {
            includePaths: [
                __dirname + '/xxxx/base'
            ],
        }