diff --git a/docs/gatsby-browser.js b/docs/gatsby-browser.js index 887b48dc3..6fda45bec 100644 --- a/docs/gatsby-browser.js +++ b/docs/gatsby-browser.js @@ -1,2 +1,4 @@ -// Polyfills -require('core-js/fn/array/find') +exports.onClientEntry = () => { + // Polyfills + require('core-js/fn/array/find') +}