Add Babel and core-js & regenerator polyfills (#367)

This commit is contained in:
Norbert Renner 2021-02-12 10:07:02 +01:00 committed by GitHub
parent 2b94300c61
commit 0ee37f557a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 1130 additions and 107 deletions

View file

@ -1,9 +1,10 @@
{
"extends": ["plugin:compat/recommended"],
"env": {
"browser": true
"browser": true,
"es2021": true
},
"settings": {
"polyfills": ["URLSearchParams", "Symbol.iterator", "Promise", "fetch", "Math", "Number", "navigator"]
"polyfills": ["URL", "Promise", "navigator", "Uint8Array", "performance", "location.hostname"]
}
}