Open chaserstrong opened 3 years ago
确实如此,只能直接使用 github 版本才可以配置成功
确实如此,只能直接使用 github 版本才可以配置成功
请教一下,是这样 npm i https://github.com/evrone/postcss-px-to-viewport --save-dev
安装 github 的版本么?
咋还不发布npm啊,黄花菜都凉了
使用这个吧
支持include参数了
yarn add postcss-px-to-viewport-with-include
^((?!/src).)*$
也可以用exclude反向选择
可以在 package.json 里直接引用 GitHub 仓库的代码:
"devDependencies": {
...
"postcss-px-to-viewport": "github:evrone/postcss-px-to-viewport",
...
},
另外真的也催更一下 npm 😂
更一下npm吧 公司办公网访问不了github 艰难
遇到的问题是include属性部署了无效,排查后发现,把npm的引用地址改为github上的可以生效,但是如果用远程npm仓库地址,就会失效。
Is the files on github the same of these on npm?
@KODerFunk