1
0
mirror of https://github.com/kremalicious/portfolio.git synced 2024-07-01 06:01:48 +02:00
portfolio/gatsby-browser.js

11 lines
368 B
JavaScript

import wrapPageElementWithTransition from './src/helpers/wrapPageElement'
import './src/styles/global.scss'
// IntersectionObserver polyfill for gatsby-image (Safari, IE)
if (typeof window !== 'undefined' && !window.IntersectionObserver) {
import('intersection-observer')
}
// Page Transitions & Layout
export const wrapPageElement = wrapPageElementWithTransition