1
0
mirror of https://github.com/kremalicious/portfolio.git synced 2024-11-11 23:55:15 +01:00
portfolio/gatsby-browser.js

11 lines
279 B
JavaScript
Raw Normal View History

exports.onInitialClientRender = () => {
2018-06-20 22:53:08 +02:00
require('./src/styles/base.scss')
}
2018-06-23 14:36:07 +02:00
exports.onClientEntry = () => {
// IntersectionObserver polyfill for gatsby-image (Safari, IE)
if (typeof window.IntersectionObserver === 'undefined') {
require('intersection-observer')
}
}