Webinar

“Digging into Gatsby 5’s Slice API” Register now

ContactSign Up for Free
Official Plugin
View plugin on GitHub

gatsby-plugin-flow

Provides drop-in support for Flow by adding @babel/preset-flow.

Install

npm install gatsby-plugin-flow

How to use

Add the plugin to your gatsby-config.js file:

// In your gatsby-config.js
module.exports = {
  plugins: [`gatsby-plugin-flow`],
}
© 2022 Gatsby, Inc.