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:
parent
79a8c6ab9a
commit
32107759e2
4 changed files with 19 additions and 2 deletions
|
|
@ -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"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue