mirror of
https://github.com/kremalicious/portfolio.git
synced 2024-12-23 01:29:41 +01:00
11 lines
279 B
JavaScript
11 lines
279 B
JavaScript
exports.onInitialClientRender = () => {
|
|
require('./src/styles/base.scss')
|
|
}
|
|
|
|
exports.onClientEntry = () => {
|
|
// IntersectionObserver polyfill for gatsby-image (Safari, IE)
|
|
if (typeof window.IntersectionObserver === 'undefined') {
|
|
require('intersection-observer')
|
|
}
|
|
}
|