mirror of
https://github.com/kremalicious/blog.git
synced 2024-12-23 01:30:01 +01:00
remove intersection-observer polyfill
This commit is contained in:
parent
9e89065627
commit
0d52148584
@ -1,10 +1,5 @@
|
|||||||
import './src/styles/global.scss'
|
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'
|
import wrapPageElementWithLayout from './src/helpers/wrapPageElement'
|
||||||
export const wrapPageElement = wrapPageElementWithLayout
|
export const wrapPageElement = wrapPageElementWithLayout
|
||||||
|
|
||||||
|
11
package-lock.json
generated
11
package-lock.json
generated
@ -49,7 +49,6 @@
|
|||||||
"gatsby-source-graphql": "^2.13.0",
|
"gatsby-source-graphql": "^2.13.0",
|
||||||
"gatsby-transformer-remark": "^2.15.0",
|
"gatsby-transformer-remark": "^2.15.0",
|
||||||
"gatsby-transformer-sharp": "^2.11.0",
|
"gatsby-transformer-sharp": "^2.11.0",
|
||||||
"intersection-observer": "^0.12.0",
|
|
||||||
"node-fetch": "^2.6.1",
|
"node-fetch": "^2.6.1",
|
||||||
"pigeon-maps": "^0.17.0",
|
"pigeon-maps": "^0.17.0",
|
||||||
"pigeon-marker": "^0.3.4",
|
"pigeon-marker": "^0.3.4",
|
||||||
@ -16504,11 +16503,6 @@
|
|||||||
"node": ">= 0.4"
|
"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": {
|
"node_modules/into-stream": {
|
||||||
"version": "3.1.0",
|
"version": "3.1.0",
|
||||||
"resolved": "https://registry.npmjs.org/into-stream/-/into-stream-3.1.0.tgz",
|
"resolved": "https://registry.npmjs.org/into-stream/-/into-stream-3.1.0.tgz",
|
||||||
@ -47471,11 +47465,6 @@
|
|||||||
"side-channel": "^1.0.4"
|
"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": {
|
"into-stream": {
|
||||||
"version": "3.1.0",
|
"version": "3.1.0",
|
||||||
"resolved": "https://registry.npmjs.org/into-stream/-/into-stream-3.1.0.tgz",
|
"resolved": "https://registry.npmjs.org/into-stream/-/into-stream-3.1.0.tgz",
|
||||||
|
@ -69,7 +69,6 @@
|
|||||||
"gatsby-source-graphql": "^2.13.0",
|
"gatsby-source-graphql": "^2.13.0",
|
||||||
"gatsby-transformer-remark": "^2.15.0",
|
"gatsby-transformer-remark": "^2.15.0",
|
||||||
"gatsby-transformer-sharp": "^2.11.0",
|
"gatsby-transformer-sharp": "^2.11.0",
|
||||||
"intersection-observer": "^0.12.0",
|
|
||||||
"node-fetch": "^2.6.1",
|
"node-fetch": "^2.6.1",
|
||||||
"pigeon-maps": "^0.17.0",
|
"pigeon-maps": "^0.17.0",
|
||||||
"pigeon-marker": "^0.3.4",
|
"pigeon-marker": "^0.3.4",
|
||||||
|
Loading…
Reference in New Issue
Block a user