Webinar

“Digging into Gatsby 5’s Slice API” Register now

ContactSign Up for Free
Community Plugin
View plugin on GitHub

gatsby-plugin-polished

A Gatsby plugin for polished. It’s not required to use polished, but it adds the polished babel plugin, which removes the (tiny) runtime impact.

Install

npm install --save polished gatsby-plugin-polished babel-plugin-polished

How to use

Edit gatsby-config.js

module.exports = {
  plugins: [
    {
      resolve: `gatsby-plugin-polished`
    }
  ]
}
© 2022 Gatsby, Inc.