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`
    }
  ]
}