Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

fis-postprocessor-postcss

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fis-postprocessor-postcss

fis postcss

  • 0.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

fis-postprocessor-postcss

fis 的 postcss 插件。 内置 cssnextautoprefixer

使用

安装

npm i fis-postprocessor-postcss -g

配置

fis.config.merge({
    modules: {
        postprocessor : {
            css: 'postcss'
        }
    }
});

参数

settings: {
    postprocessor: {
        postcss: {
            autoprefixer: false, // 默认 true
            cssnext: false, // 默认 false
            customPlugin: function(plugins) {   // 参数 plugins 是内置插件
                plugins = plugins.push(require('postcss-border'));
                return plugins; // 返回新的插件列表
            }
        }
    }
}

demo 说明

安装完插件后,切换至 demo/src 目录下执行:

fis release -d dev [-mD]

关于 cssnext

目前还不能和 sass 混用,即 '.scss' 文件中不要掺杂 cssnext 语法。

关于 cssgrace

在 fis postprocessor 中, cssgrace 处理图片路径有问题,不建议使用。

Keywords

FAQs

Package last updated on 23 Jul 2015

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc