
Security News
GitHub Actions Checkout Now Blocks Risky pull_request_target Checkouts
GitHub Actions checkout now blocks risky pull_request_target checkouts by default to help prevent pwn request supply chain attacks.
fis-parser-sass2
Advanced tools

A parser plugin for fis to compile sass file.
(基于node-sass的fis插件,支持expanded,及预定义变量。本插件基于fis官方插件修改,不过依赖库由fis-sass更改为node-sass)
$ npm install -g fis-parser-sass2
//fis-conf.js
fis.config.set('modules.parser.scss', 'sass2');
fis.config.set('settings.parser.sass2.define', {
'enable': true,
'$bgcolor': '#d8222d',
'color': 'black'
});
//你可以通过设置该属性来控制sass文件里的的变量
fis.config.set('settings.parser.sass2.outputStyle', 'expanded');
//the default is expanded,默认为expanded,你可以手动设置其他属性
fis.config.set('settings.parser.sass2.sourceMap', false);
//use sourcemap or not, default is true,是否启用sourceMap,默认为开启
fis.config.set('roadmap.ext.scss', 'css');
//fis3-conf.js
fis.match('**.scss', {
parser: fis.plugin('sass2', {
define: {
'enable': true,
'$bgcolor': '#d8222d',
'$color': 'black'
}
}),
rExt: 'css'
})
//example a.scss
@if ($enable) {
body {
background: $bgcolor;
color: $color;
}
}
$ fis release -d ./output
FAQs
A parser plugin for fis to compile sass file.
The npm package fis-parser-sass2 receives a total of 20 weekly downloads. As such, fis-parser-sass2 popularity was classified as not popular.
We found that fis-parser-sass2 demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
GitHub Actions checkout now blocks risky pull_request_target checkouts by default to help prevent pwn request supply chain attacks.

Product
Socket now supports Custom Roles and Repository Access Permissions so organizations can control who can access specific repositories and actions.

Product
Socket MCP now lets AI assistants review org alerts, investigate threats using the Socket threat feed, and inspect package files in addition to dependency scoring.