![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
fis-parser-sass
Advanced tools
全局安装
npm install fis-parser-sass -g
开启插件
fis.config.merge('modules.parser', {
sass : 'sass',
scss: 'sass'
});
fis.config.merge('roadmap.ext', {
sass: 'css',
scss: 'css'
});
插件配置
fis.config.set('settings.parser.sass', {
// 加入文件查找目录
include_paths: []
});
有了 fis-parser-sass
就可用用compass了,方法如下:
安装 fis-parser-sass
插件:
npm install -g fis-parser-sass
下载 compass 框架,把框架中的 frameworks/compass/stylesheets
目录下的文件放到你的项目中,得到目录结构:
project
┣ compass
┣ _compass.scss
┣ _lemonade.scss
┗ fis-conf.js
配置fis
//项目排除掉_xxx.scss,这些属于框架文件,不用关心
fis.config.set('project.exclude', '**/_*.scss');
//scss后缀的文件,用fis-parser-sass插件编译
fis.config.set('modules.parser.scss', 'sass');
//scss文件产出为css文件
fis.config.set('roadmap.ext.scss', 'css');
新建一个 scss 文件测试一下:
@import "compass/layout/grid-background";
a {
background: get-baseline-gradient(rgba(255, 0, 0, 0));
font-weight: bold;
text-decoration: none;
&:hover { text-decoration: underline; }
body.firefox & { font-weight: normal; }
}
fis release -d output
文件编译结果
a {
background: linear-gradient(bottom, #f00 5%, rgba(255, 0, 0, 0) 5%);
font-weight: bold;
text-decoration: none; }
a:hover {
text-decoration: underline; }
body.firefox a {
font-weight: normal; }
FAQs
A parser plugin for fis to compile sass file.
The npm package fis-parser-sass receives a total of 22 weekly downloads. As such, fis-parser-sass popularity was classified as not popular.
We found that fis-parser-sass demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers 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
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.