File tree Expand file tree Collapse file tree 3 files changed +5
-1
lines changed Expand file tree Collapse file tree 3 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 16
16
" **/modernizr.js" ,
17
17
" core-js/**/*" ,
18
18
" ./src/polyfill/*.ts" ,
19
- " ./polyfill/*.js"
19
+ " ./polyfill/*.js" ,
20
+ " intersection-observer"
20
21
],
21
22
"scripts" : {
22
23
"clean" : " rimraf cjs Device hooks lib polyfill styling types utils index.esm.js index.d.ts" ,
26
27
},
27
28
"dependencies" : {
28
29
"core-js" : " 3.6.4" ,
30
+ "intersection-observer" : " ^0.7.0" ,
29
31
"resize-observer-polyfill" : " ^1.5.1"
30
32
},
31
33
"peerDependencies" : {
Original file line number Diff line number Diff line change 1
1
import ResizeObserver from 'resize-observer-polyfill' ;
2
+ import 'intersection-observer' ;
2
3
3
4
// @ts -ignore
4
5
window . ResizeObserver = ResizeObserver ;
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ import 'core-js/modules/es.object.assign';
3
3
import 'core-js/modules/es.object.values' ;
4
4
import 'core-js/modules/es.array.from' ;
5
5
import ResizeObserver from 'resize-observer-polyfill' ;
6
+ import 'intersection-observer' ;
6
7
7
8
// @ts -ignore
8
9
window . ResizeObserver = ResizeObserver ;
You can’t perform that action at this time.
0 commit comments