DEV Community

Discussion on: Getting setup with Tailwind & Gatsby

Collapse
 
zooly profile image
Hugo Torzuoli

Nice! Next step is to add PurgeCSS Gatsby plugin:

npm i --save gatsby-plugin-purgecss

gatsby-config.js

plugins: [
    {
      resolve: `gatsby-plugin-purgecss`,
      options: { tailwind: true }
    }
]
Collapse
 
mrpbennett profile image
Paul Bennett

Perfect I never got that far yet, as things are still in development...but ill add it to the post for sure...Thanks for pointing that out.