- add import() polyfill that evals in Function() and falls back to script tag injection - add AbortController polyfill for MapLibre (lazy loaded so can be in bundle, not for Web Workers) - support Firefox 56, last supporting old plugins before Web Extensions
10 lines
262 B
JSON
10 lines
262 B
JSON
{
|
|
"extends": ["plugin:compat/recommended"],
|
|
"env": {
|
|
"browser": true,
|
|
"es2021": true
|
|
},
|
|
"settings": {
|
|
"polyfills": ["URL", "Promise", "navigator", "Uint8Array", "performance", "location.hostname", "document.body"]
|
|
}
|
|
}
|