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

@ -5,6 +5,15 @@
"es2021": true
},
"settings": {
"polyfills": ["URL", "Promise", "navigator", "Uint8Array", "performance", "location.hostname", "document.body"]
"polyfills": [
"URL",
"Promise",
"navigator",
"Uint8Array",
"performance",
"location.hostname",
"document.body",
"fetch"
]
}
}