0.0.4 • Published 7 years ago

wepy-plugin-rw-postcss v0.0.4

Weekly downloads
2
License
MIT
Repository
-
Last release
7 years ago

wepy-plugin-rw-postcss

给 wepy 用的 postcss 插件

注意

  • node >= 8.0
  • 目前版本只支持通过 postcss 配置文件(推荐 .postcssrc )来配置

安装

yarn add wepy-plugin-rw-postcss
# or
npm install wepy-plugin-rw-postcss --sava-dev

使用

wepy.config.js

{
  plugins: {
    // 不需要填任何配置,目前版本只支持通过 postcss 配置文件(推荐 .postcssrc )来配置
    'rw-postcss': {}
  }
}

.postcssrc

请保证已经安装了配置的插件

{
    "plugins": {
        "autoprefixer": {},
        "wx-px2rpx": {}
    }
}
0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago