Skip to main content
Community Plugin
View plugin on GitHub
See starters using this

gatsby-plugin-polyfill-io

A Gatsby plugin to polyfill your site with Polyfill.io.

Installation

With npm:

npm install --save gatsby-plugin-polyfill-io

Or with Yarn:

yarn add gatsby-plugin-polyfill-io

Implementation

// In your gatsby-config.js
plugins: [`gatsby-plugin-polyfill-io`]

Options

To include Polyfill.io options:

plugins: [
   {
      resolve: `gatsby-plugin-polyfill-io`,
      options: {
         features: [`Array.prototype.map`, `fetch`]
      },
   },
]
Docs
Tutorials
Plugins
Blog
Showcase