jlengstorf / learn-rollup

This is an example project to accompany a tutorial on using Rollup.
https://code.lengstorf.com/learn-rollup-js/
ISC License
191 stars 61 forks source link

postcss-cssnext is deprecated #50

Closed cwilling closed 6 years ago

cwilling commented 6 years ago

I've been using postcss-cssnext in my project as described in your tutorial for some time and it's been working really well - thanks for that!

Today I rebuilt all my node_modules tree and there was a message that

'postcss-cssnext' has been deprecated in favor of 'postcss-preset-env'. Read more at https://moox.io/blog/deprecating-cssnext/

I tried the migration instructions there without success.

Are you considering updating the tutorial to use postcss-preset-env at all?

jlengstorf commented 6 years ago

@cwilling hey there — honestly I probably won't update it in the tutorial because I think it's pretty out-of-date with other Rollup features as well. 😕

If you'd like to submit a PR with a fix, I'm happy to accept it, though!