Plugins

Libraryarrow-up-right

List of Plugins for React Packages

These usually just allow easier integration

  • Emotion: Adds /** @jsx jsx */ to files

  • Typography: style component of typography is automatically inserted into the head by the plugin

module.exports = {
  plugins: [
    `gatsby-plugin-emotion`,
    {
      resolve: `gatsby-plugin-typography`,
      options: {
        pathToConfigModule: `src/utils/typography`,
      },
    },
  ],
}

Example Typography

The style component of typography is automatically inserted into the head by the plugin

gatsby-config.js

src/utils/typography.js

Last updated