[英]How to include additional postCSS plugins (postcss-preset-env) for Angular 7
[英]Should postcss plugins reference postcss as a peer dependency?
我正在尝试使用PostCSS Sass Color Function 。 我收到此错误:
Unknown error from PostCSS plugin. Your current PostCSS version is 6.0.22, but postcss-sass-color-functions uses 5.2.18. Perhaps this is the source of the error below.
(node:12911) UnhandledPromiseRejectionWarning: Error: /home/ole/Junk/superflycss/component-button/node_modules/@superflycss/variables-colors/notifications/index.css:76:9: Unable to parse color from string "25%"
Postcss-sass-color-functions不再按其存储库中所述进行维护。
您可以使用启用了color-mod-function
postcss-preset-env来执行相同的操作。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.