fis-parser-node-sass-node7
v1.0.0
Published
Based on fis-parser-node-sass,only update the version of node-sass from '3.13.0' to '4.1.1',to ensure it works well in [email protected]
Downloads
3
Readme
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...
})
})