-
-
Notifications
You must be signed in to change notification settings - Fork 211
cssnext examples don't work #23
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
Comments
What version of loader and cssnext you used before and update before this issue? |
|
@taion can you help me (I am on the way and can do research myself). Do you update |
Oh, I see that this example just got added. I think there's just a slight typo there. Instead of: postcss: function () {
return [autoprefixer, cssnext];
} it should be postcss: function () {
return [autoprefixer, cssnext()];
} BTW, I'm unclear as to when it's better to use |
@taion the most easy way is a |
This is far beyond anything I know, but it looks like |
Seems like. OK, so it is not a problem of PostCSS 5.0 (we made so many changes there :D ). |
Although this example is a little weird if you think about it, since |
@taion yeap, I will change example |
Done 246c90f |
cssnext also have a "plugins" option to pipe more plugins.
|
This will be more clear in cssnext 2.x when cssnext will deprecate all cssnext runners in favors of postcss ones. |
I was trying to use this loader to use cssnext and autoprefixer. The examples seem not to work with the latest versions - I found that I had to use
cssnext()
instead of justcssnext
to get cssnext to run.The text was updated successfully, but these errors were encountered: