1
0
mirror of https://github.com/kremalicious/blog.git synced 2024-11-25 03:14:01 +01:00
blog/gatsby-browser.js
2018-08-29 00:17:24 +02:00

9 lines
237 B
JavaScript

require('./src/styles/global.scss')
exports.onClientEntry = () => {
// IntersectionObserver polyfill for gatsby-image (Safari, IE)
if (typeof window.IntersectionObserver === 'undefined') {
require('intersection-observer')
}
}