Migrate to Netlify Today

Netlify announces the next evolution of Gatsby Cloud. Learn more

ContactSign Up
Community Plugin
View plugin on GitHub


Gatsby plugin to use bs-css-emotion with ReScript or Reason/Bucklescript.

This plugin enables extracting critical styles when you use Gatsby with Emotion 11 (@emotion/css) and components with className prop. The usage of className prop is the only option when you use Rescript/Reason/Bucklescript with bs-css-emotion bindings that use @emotion/css under the hood.


npm install gatsby-plugin-bs-css-emotion

Add gatsby-plugin-bs-css-emotion to your gatsby-config.js:

  plugins: [
    // your plugins...
© 2023 Gatsby, Inc.