postcss-cli

Logging what plugins PostCSS is running with?

旧巷老猫 提交于 2019-12-11 04:14:02
问题 I'm writing a CLI that uses PostCSS and even though I don't have uncss in the plugins array, I'm getting error reports from uncss . Is there a way to have PostCSS print out what plugins are currently loaded? This issue is related to this issue. 来源: https://stackoverflow.com/questions/54271046/logging-what-plugins-postcss-is-running-with

Autoprefixer errors with NPM (✖ Plugin Error: Cannot find module )

老子叫甜甜 提交于 2019-12-08 12:50:39
问题 So currently I am having troubles with autoprefixer. I have downloaded postcss-cli and autoprefixer to --save-dev and -g When I run a command like this: postcss ../../../htdocs/css/workflow/homepage-announcements.css -o ../../../htdocs/css/workflow/homepage-announcements.css works fine with an output of: ✔ Finished ../../../htdocs/css/workflow/homepage-announcements.css (25ms) Now that I have used --use autoprefixer an error is thrown. Command below. postcss --use autoprefixer ../../../htdocs