Skip to content

fex-team/fis-parser-node-sass

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fis-parser-node-sass

安装与使用

全局安装

npm install fis-parser-node-sass -g

FIS2

开启插件

fis.config.set('modules.parser.sass', 'node-sass');
fis.config.set('modules.parser.scss', 'node-sass');

fis.config.set('roadmap.ext.sass', 'css');
fis.config.set('roadmap.ext.scss', 'css');

插件配置

fis.config.set('settings.parser.node-sass', {
    // 加入文件查找目录
    include_paths: []
});

FIS3

fis.match('*.scss', {
  rExt: '.css',
  parser: fis.plugin('node-sass', {
    // options...
  })
})

About

Use node-sass to parser sass for fis/fis3.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published