Răsfoiți Sursa

Merge pull request #5736 from overleaf/ab-drop-ie11-polyfill

Remove IE11 polyfills and update browser support policy

GitOrigin-RevId: 9ab9513ecf97fc565a1d2620f9785a64bd16b766
Alf Eaton 4 ani în urmă
părinte
comite
ec31473f8f

+ 0 - 3
services/web/frontend/js/libraries.js

@@ -13,8 +13,5 @@ import './vendor/libs/select/select'
 // CSS
 // CSS
 import 'angular/angular-csp.css'
 import 'angular/angular-csp.css'
 
 
-// Polyfill fetch for IE11
-import 'isomorphic-unfetch'
-
 // Rewrite meta elements
 // Rewrite meta elements
 import './utils/meta'
 import './utils/meta'

+ 0 - 1
services/web/frontend/js/shared/hooks/use-abort-controller.js

@@ -1,4 +1,3 @@
-import 'abort-controller/polyfill'
 import { useEffect, useState } from 'react'
 import { useEffect, useState } from 'react'
 
 
 export default function useAbortController() {
 export default function useAbortController() {

+ 3 - 3
services/web/package.json

@@ -38,9 +38,9 @@
     "storybook": "start-storybook -p 6006 -s ./public"
     "storybook": "start-storybook -p 6006 -s ./public"
   },
   },
   "browserslist": [
   "browserslist": [
-    "last 1 year",
-    "ie 11",
-    "firefox esr"
+    "last 2 years",
+    "firefox esr",
+    "not dead"
   ],
   ],
   "dependencies": {
   "dependencies": {
     "@babel/cli": "^7.14.5",
     "@babel/cli": "^7.14.5",