-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to use cssnano plugin? #79
Comments
As of 2016-03-10, the |
I've managed to get cssnano to work by disabling Code as follows
|
Great to hear you got it working, thanks for sharing the solution @huan086 |
In index.js line 121, the array of postcssAfter plugins is compared with function
However, cssnano returns
postcss()
rather than function, and thus modulesify tries to callrequire
on it, causing error. What's the correct way to use the cssnano plugin?My current config
The text was updated successfully, but these errors were encountered: