gatsby-plugin-postcss
Provides drop-in support for PostCSS.
How to use
- Include the plugin in your
gatsby-config.js
file. - Write your stylesheets with your desired PostCSS featureset and require/import those plugins
// in gatsby-config.js
plugins: [
{
resolve: `gatsby-plugin-postcss`,
options: {
postCssPlugins: [
somePostCssPlugin()
]
}
}
]