Commit b19ee1325cedfaca6c0e9e1880d340bf6f7f0caa

Authored by 王强
1 parent 3b74f5e6

添加postcssrc.js文件

Showing 1 changed file with 29 additions and 0 deletions
.postcssrc.js 0 → 100644
  1 +// https://github.com/michael-ciniawsky/postcss-load-config
  2 +
  3 +module.exports = {
  4 + "plugins": {
  5 + "postcss-import": {},
  6 + "postcss-url": {},
  7 + // to edit target browsers: use "browserslist" field in package.json
  8 + // "autoprefixer": {}
  9 + "postcss-aspect-ratio-mini": {},
  10 + "postcss-write-svg": {
  11 + "utf8": false
  12 + },
  13 + "postcss-cssnext": {},
  14 + "postcss-px-to-viewport": {
  15 + "viewportWidth": 750,
  16 + "viewportHeight": 1334,
  17 + "unitPrecision": 2,
  18 + "viewportUnit": 'vw',
  19 + "selectorBlackList": ['.ignore', '.hairlines'],
  20 + "minPixelValue": 1,
  21 + "mediaQuery": false
  22 + },
  23 + // "cssnano": {
  24 + // "preset": "advanced",
  25 + // "autoprefixer": false,
  26 + // "postcss-zindex": false
  27 + // }
  28 + }
  29 +}
... ...