Skip to content
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

Upgrade gatsby-plugin-postcss to PostCSS 8 #26939

Closed
ai opened this issue Sep 17, 2020 · 2 comments · Fixed by #26947
Closed

Upgrade gatsby-plugin-postcss to PostCSS 8 #26939

ai opened this issue Sep 17, 2020 · 2 comments · Fixed by #26947
Labels
good first issue Issue that doesn't require previous experience with Gatsby help wanted Issue with a clear description that the community can help with. type: feature or enhancement Issue that is not a bug and requests the addition of a new feature or enhancement.

Comments

@ai
Copy link

ai commented Sep 17, 2020

Summary

PostCSS 8 was released. It added a new plugin API. Right now Gatsby does not support PostCSS 8 plugins.

Updating postcss-loader and adding postcss to dependencies for gatsby-plugin-postcss will fix the problem.

PostCSS 8 changelog does not have breaking changes related to Gatsby only removing Node.js 6 and 8 support).

@ai ai added the type: feature or enhancement Issue that is not a bug and requests the addition of a new feature or enhancement. label Sep 17, 2020
@gatsbot gatsbot bot added the status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer label Sep 17, 2020
@LekoArts LekoArts added good first issue Issue that doesn't require previous experience with Gatsby help wanted Issue with a clear description that the community can help with. and removed status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer labels Sep 18, 2020
@LekoArts LekoArts changed the title PostCSS 8 Upgrade gatsby-plugin-postcss to PostCSS 8 Sep 18, 2020
@LekoArts
Copy link
Contributor

We'd be happy to receive a PR updating this, if you need help feel free to reach out here.

@LekoArts
Copy link
Contributor

LekoArts commented Oct 1, 2020

We published this on [email protected] :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Issue that doesn't require previous experience with Gatsby help wanted Issue with a clear description that the community can help with. type: feature or enhancement Issue that is not a bug and requests the addition of a new feature or enhancement.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants