You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running posthtml -i src/**/*.html -o posthtml/ -c posthtml.json gives me the following error:
(node:17883) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 79): Error: [object Object] is not a PostCSS plugin
After digging into the posthtml-postcss documentation (https://github.com/posthtml/posthtml-postcss), postcss expects a postcssPlugins argument (which is an array) before the usual options argument, as such:
I'm having problems using the CLI with PostCSS Autoprefixer. I already have
posthtml-postcss
andautoprefixer
packages installed through NPM.posthtml.json
Running
posthtml -i src/**/*.html -o posthtml/ -c posthtml.json
gives me the following error:After digging into the
posthtml-postcss
documentation (https://github.com/posthtml/posthtml-postcss),postcss
expects apostcssPlugins
argument (which is an array) before the usualoptions
argument, as such:What is the proper way (if any) to pass in a list of plugins specifically for PostCSS through the CLI?
The text was updated successfully, but these errors were encountered: