Re-add fetch polyfill (#727)

Removed in #367, but core-js does not include fetch, and eslint-plugin-compat just doesn't seem to complain when inside an if block.
This commit is contained in:
Norbert Renner 2023-05-08 17:15:58 +02:00
parent 79a8c6ab9a
commit 32107759e2
4 changed files with 19 additions and 2 deletions

View file

@ -84,7 +84,8 @@
"regenerator-runtime": "0.13.11",
"togpx": "nrenner/togpx#722d291",
"tokml": "0.4.0",
"url-search-params": "1.1.0"
"url-search-params": "1.1.0",
"whatwg-fetch": "^3.6.2"
},
"devDependencies": {
"@babel/cli": "7.19.3",