Merge pull request #36323 from openedx/feanil/drop-whatwg-fetch
build: Drop the `whatwg-fetch` polyfill.
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
import Cookies from 'js-cookie';
|
||||
import 'whatwg-fetch';
|
||||
|
||||
const COURSE_BLOCKS_API = '/api/courses/v1/blocks/';
|
||||
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
import 'whatwg-fetch';
|
||||
import Cookies from 'js-cookie';
|
||||
|
||||
const HEADERS = {
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
import 'whatwg-fetch';
|
||||
import Cookies from 'js-cookie';
|
||||
|
||||
import { entitlementApi } from './endpoints';
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
import 'whatwg-fetch';
|
||||
import Cookies from 'js-cookie';
|
||||
|
||||
const deactivate = (password) => fetch('/api/user/v1/accounts/deactivate_logout/', {
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
/* globals gettext */
|
||||
|
||||
import 'whatwg-fetch';
|
||||
import PropTypes from 'prop-types';
|
||||
import React from 'react';
|
||||
|
||||
|
||||
1
package-lock.json
generated
1
package-lock.json
generated
@@ -72,7 +72,6 @@
|
||||
"webpack": "^5.90.3",
|
||||
"webpack-bundle-tracker": "0.4.3",
|
||||
"webpack-merge": "4.2.2",
|
||||
"whatwg-fetch": "2.0.4",
|
||||
"which-country": "1.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
@@ -98,7 +98,6 @@
|
||||
"webpack": "^5.90.3",
|
||||
"webpack-bundle-tracker": "0.4.3",
|
||||
"webpack-merge": "4.2.2",
|
||||
"whatwg-fetch": "2.0.4",
|
||||
"which-country": "1.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
Reference in New Issue
Block a user