-
Notifications
You must be signed in to change notification settings - Fork 4.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 @wordpress/scripts to use PostCSS 8 #27028
Comments
To make sure we can use PostCSS 8 we have to wait a bit I think
|
Thanks for the update @ocean90. Is there any known workaround for this issue in the meantime? As it stands resources are failing to compile with |
Don't update plugins which require PostCSS 8. 🙈 |
https://www.npmjs.com/package/postcss-custom-properties v11 is now listing PostCSS v8 as a peer dependency 🎉 Storybook merged a PR on their end as well but it’s still part of the alpha release line: storybookjs/storybook#13640 |
@gziolo Any updates regarding PostCSS v8 implementation? |
We could give it a try and find a way to make Storybook work with PostCSS 7 and everything else with PostCSS 8. |
#27821 is now updated and everything seems to work with PostCSS v8. The only caveat is that we have Strorybook set to the prerelease version: |
Reverted in #30320 by @noisysocks due to issues with |
Another attempt in #30347. |
Hi, POSTCSS 8.3.0 is not working for me. Have no errors, but when I updated all npm packages yesterday including webpack to 5.38.1, my styles are not being added to the head in html. So No styling and no JS that depends on the styles to work. No errors in the console, though. |
Many PostCSS plugins are now requiring PostCSS 8, and so resources using
@wordpress/scripts
are failling tonpm run build
with latest module versions, throwing errors like:I think it's enough to bump the version of
postcss-loader
in@wordpress/scripts
to >= 4.0.3.The text was updated successfully, but these errors were encountered: