Skip to content

Commit

Permalink
use gatsby client entry method to load polyfills
Browse files Browse the repository at this point in the history
  • Loading branch information
Dale Hurwitz committed Nov 23, 2018
1 parent bcfcfce commit 18bc234
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/gatsby-browser.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
// Polyfills
require('core-js/fn/array/find')
exports.onClientEntry = () => {
// Polyfills
require('core-js/fn/array/find')
}

0 comments on commit 18bc234

Please sign in to comment.