Skip to content

Commit

Permalink
All our browsers are new enough to not need the whatwg-fetch polyfill
Browse files Browse the repository at this point in the history
  • Loading branch information
obra committed Feb 29, 2024
1 parent 6aeeaa4 commit 8978a38
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion config/webpack.common.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const CopyWebpackPlugin = require("copy-webpack-plugin");
const HtmlWebpackPlugin = require("html-webpack-plugin");
module.exports = {
// Where webpack looks to start building the bundle and include polyfill
entry: ["whatwg-fetch", paths.src + "/renderer/index.js"],
entry: [paths.src + "/renderer/index.js"],

// Where webpack outputs the assets and bundles
output: {
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,7 @@
"remark-gfm": "^3.0.1",
"typeface-roboto": "^0.0.54",
"typeface-source-code-pro": "^0.0.71",
"uuid": "^8.3.1",
"whatwg-fetch": "^3.6.17"
"uuid": "^8.3.1"
},
"resolutions": {
"cacache/y18n": "^4.0.1",
Expand Down

0 comments on commit 8978a38

Please sign in to comment.