Skip to content

Commit 01905c5

Browse files
Merge pull request #1670 from SUI-Components/feature/PI-68247/add-append-polyfill
feat(packages/sui-polyfills): add append polyfill
2 parents 859a260 + 255639e commit 01905c5

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

packages/sui-polyfills/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
"scripts": {},
77
"keywords": [],
88
"dependencies": {
9-
"core-js": "3"
9+
"core-js": "3",
10+
"element-polyfill": "1"
1011
},
1112
"license": "MIT",
1213
"repository": {

packages/sui-polyfills/src/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ require('core-js/features/map/map-keys')
3131

3232
require('core-js/features/symbol')
3333

34+
require('element-polyfill/polyfills/element.parent-node.append.js')
35+
3436
require('./element-closest.js')
3537
require('./globalThis.js')
3638

0 commit comments

Comments
 (0)