Install core-js to fix issue with compiled module (#18)

Since Babel is configured to inject core-js built-ins where needed, we
must also install the core-js package.
This commit is contained in:
Alasdair Smith 2021-01-26 12:06:28 +00:00 committed by GitHub
parent 3a392fd8c1
commit 5f1297548f
2 changed files with 8 additions and 1 deletions

View file

@ -2340,6 +2340,11 @@
"dev": true,
"optional": true
},
"core-js": {
"version": "3.8.3",
"resolved": "https://registry.npmjs.org/core-js/-/core-js-3.8.3.tgz",
"integrity": "sha512-KPYXeVZYemC2TkNEkX/01I+7yd+nX3KddKwZ1Ww7SKWdI2wQprSgLmrTddT8nw92AjEklTsPBoSdQBhbI1bQ6Q=="
},
"core-js-compat": {
"version": "3.8.3",
"resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.8.3.tgz",

View file

@ -59,5 +59,7 @@
"prettier": "^2.0.2",
"typescript": "^3.8.3"
},
"dependencies": {}
"dependencies": {
"core-js": "^3.8.3"
}
}