postcss-px-to-viewport icon indicating copy to clipboard operation
postcss-px-to-viewport copied to clipboard

请停止使用` >=`做版本依赖

Open preflower opened this issue 3 years ago • 0 comments

"devDependencies": {
  "jest": "^25.4.0",
  "postcss": ">=5.0.2"
},
"peerDependencies": {
  "postcss": ">=5.0.2"
}

这样使用会出现今天的问题,即 postcss 更新 version 8 导致 插件 landscape: true 时 打包报错: TypeError: postcss.atRule is not a constructor

preflower avatar Sep 16 '20 06:09 preflower