Skip to content

Commit

Permalink
Removes unused whatwg-fetch package (#243)
Browse files Browse the repository at this point in the history
  • Loading branch information
rosschapman authored Oct 23, 2024
1 parent 6c68576 commit 51e27a3
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 44 deletions.
34 changes: 0 additions & 34 deletions docs/data-fetching.md

This file was deleted.

8 changes: 1 addition & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,7 @@
"react-modal": "^3.12.1",
"react-router-dom": "^6.27.0",
"react-tippy": "^1.4.0",
"swr": "^2.2.5",
"whatwg-fetch": "^2.0.1"
"swr": "^2.2.5"
},
"devDependencies": {
"@babel/cli": "^7.4.4",
Expand Down
2 changes: 1 addition & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ const buildDir = path.resolve(__dirname, "build");
module.exports = {
mode: process.env.NODE_ENV || "production",
context: __dirname,
entry: ["whatwg-fetch", "@babel/polyfill", path.resolve(appRoot, "init.tsx")],
entry: ["@babel/polyfill", path.resolve(appRoot, "init.tsx")],
output: {
path: buildDir,
publicPath: "/dist/",
Expand Down

0 comments on commit 51e27a3

Please sign in to comment.