mirror of
https://github.com/kremalicious/portfolio.git
synced 2024-12-23 01:29:41 +01:00
9 lines
237 B
JavaScript
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')
|
|
}
|
|
}
|