1
0
mirror of https://github.com/kremalicious/blog.git synced 2024-12-22 17:23:50 +01:00

remove intersection-observer polyfill

This commit is contained in:
Matthias Kretschmann 2021-02-17 00:42:18 +01:00
parent 9e89065627
commit 0d52148584
Signed by: m
GPG Key ID: 606EEEF3C479A91F
3 changed files with 0 additions and 17 deletions

View File

@ -1,10 +1,5 @@
import './src/styles/global.scss'
// IntersectionObserver polyfill for gatsby-image (Safari, IE)
if (typeof window.IntersectionObserver === 'undefined') {
import('intersection-observer')
}
import wrapPageElementWithLayout from './src/helpers/wrapPageElement'
export const wrapPageElement = wrapPageElementWithLayout

11
package-lock.json generated
View File

@ -49,7 +49,6 @@
"gatsby-source-graphql": "^2.13.0",
"gatsby-transformer-remark": "^2.15.0",
"gatsby-transformer-sharp": "^2.11.0",
"intersection-observer": "^0.12.0",
"node-fetch": "^2.6.1",
"pigeon-maps": "^0.17.0",
"pigeon-marker": "^0.3.4",
@ -16504,11 +16503,6 @@
"node": ">= 0.4"
}
},
"node_modules/intersection-observer": {
"version": "0.12.0",
"resolved": "https://registry.npmjs.org/intersection-observer/-/intersection-observer-0.12.0.tgz",
"integrity": "sha512-2Vkz8z46Dv401zTWudDGwO7KiGHNDkMv417T5ItcNYfmvHR/1qCTVBO9vwH8zZmQ0WkA/1ARwpysR9bsnop4NQ=="
},
"node_modules/into-stream": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/into-stream/-/into-stream-3.1.0.tgz",
@ -47471,11 +47465,6 @@
"side-channel": "^1.0.4"
}
},
"intersection-observer": {
"version": "0.12.0",
"resolved": "https://registry.npmjs.org/intersection-observer/-/intersection-observer-0.12.0.tgz",
"integrity": "sha512-2Vkz8z46Dv401zTWudDGwO7KiGHNDkMv417T5ItcNYfmvHR/1qCTVBO9vwH8zZmQ0WkA/1ARwpysR9bsnop4NQ=="
},
"into-stream": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/into-stream/-/into-stream-3.1.0.tgz",

View File

@ -69,7 +69,6 @@
"gatsby-source-graphql": "^2.13.0",
"gatsby-transformer-remark": "^2.15.0",
"gatsby-transformer-sharp": "^2.11.0",
"intersection-observer": "^0.12.0",
"node-fetch": "^2.6.1",
"pigeon-maps": "^0.17.0",
"pigeon-marker": "^0.3.4",