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
{{ message }}
Repository navigation
[fix]: Using posthtml-cli with postcss autoprefixer #246
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:
Activity
Scrum commentedon May 23, 2017
@mickeywu Hi, thanks for feedback, Is associated with incorrect work
post-load-plugins. I'm working on it.[-]Using posthtml-cli with postcss autoprefixer[/-][+][fix]: Using posthtml-cli with postcss autoprefixer[/+]Scrum commentedon Jan 22, 2018
@mickeywu Hi, I fixed a rejection
but not resolves case with plugin
posthtml-postcss((I create issue what would fix it.
10 remaining items