-
-
Notifications
You must be signed in to change notification settings - Fork 5k
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
feat(postcss): upgrade to postcss v8 #8408
Conversation
Codecov Report
@@ Coverage Diff @@
## dev #8408 +/- ##
==========================================
+ Coverage 68.06% 68.10% +0.04%
==========================================
Files 91 91
Lines 3911 3916 +5
Branches 1068 1068
==========================================
+ Hits 2662 2667 +5
Misses 1012 1012
Partials 237 237
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
It is also important to move |
Hi @ai. I'm afraid this is not possible for Nuxt upgrade for postcss was mostly delayed because of dropping node@8 and Alternatively, what do you think resolving postcss from rootDir with higher priority or allow an option to specify resolved version? |
Next PostCSS will have Node.js version changes as well 😅 (Node.js 10 will be deprecated next year).
Am I right that users can add their own plugins to Nuxt.js (for instance, Tailwind CSS)? In this case, they will have a warning about missing But I like the idea of having built-in default |
Thanks for heads up. Totally makes sense not supporting Node.js 10. From next minor release we start warning to use supported versions (12, 14+) and eventually drop 10 as well (10 is only supported by
Indeed. With having an option, modules like tailwind can enforce a specific version of postcss. |
I hope this will come soon as it will enable usage of latest versions of many other packages. |
@pi0 when do you plan to move on with this? :) |
@andorfermichael This PR is pending for csstools/postcss-preset-env#191 (comment) as it is also installed by default. We might release 2.15 without this PR but with improved resolveLoader (#83) we can pick dependencies from root to allow overriding postcss version. |
I’ll make a pr covering it |
This comment has been minimized.
This comment has been minimized.
This pr will be done in #9671 |
Types of changes
Description
NOTE: Do not merge until csstools/postcss-preset-env#191 is closed.
NOTE:
postcss-loader
has movedPostCSS
(plugins/syntax/parser/stringifier) options to thepostcssOptions
option, sobuild.postcss
innuxt.config.js
will be used to setpostcssOptions
which isplugins/preset...
Checklist: