Migrate to Netlify Today

Netlify announces the next evolution of Gatsby Cloud. Learn more

ContactSign Up
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`
    }
  ]
}
© 2024 Gatsby, Inc.