-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Update to PostCSS 8 #5166
Update to PostCSS 8 #5166
Conversation
|
Benchmark ResultsKitchen Sink ✅
Timings
Cold Bundles
Cached Bundles
React HackerNews ✅
Timings
Cold Bundles
Cached Bundles
AtlasKit Editor ✅
Timings
Cold Bundles
Cached Bundles
Three.js x4 🚨
Timings
Cold BundlesNo bundles found, this is probably a failed build... Cached BundlesNo bundles found, this is probably a failed build... |
@mischnic New PostCSS recommends moving
Will this recommendation work for Parcel 2? |
We require plugins from the users project, so that should work. Or do you mean the Parcel itself should have postcss as a peerdependency? E.g. so that this call uses the user's postcss version?
That would be rather difficult... |
@mischnic Parcel should use I think optional peer dependency in Parcel will solve this problem. |
Parcel auto-install feature is awesome 😍 I use Parcel for all my projects (including PostCSS website). |
🎉 😄 |
What is the current blocker? I want to use PostCSS 8 on the PostCSS website. |
@DeMoorJasper Should we add postcss@8 as a dependency to the integration test monorepo package? |
@mischnic I don't think it's necessary as it's already gonna get installed anyway by all the references it already has in various package.json's in the monorepo. Feel free to add it though |
Any way to use this fix before next Parcel 2 beta release? I want to update postcss.org and add a guide to PostCSS 8 Migration guide. |
|
This makes Parcel 2 completely unusable if the PostCSS plugins your codebase relies on doesn't support PostCSS 8 yet. I think adding PostCSS 8 support is great, but on the user-end it's a pretty minor improvement that blocks Parcel users from upgrading to v2. In my case, it's preset-env which requires many plugin dependencies to be upgraded before it can do a PostCSS 8 release. IMO this is a pretty common PostCSS plugin to use with PostCSS so I imagine many users may encounter this blocker. Is it possible to support both PostCSS 7 and 8 somehow? |
See #5152 (comment)
|
↪️ Pull Request
Closes #5152