Skip to content

Commit

Permalink
Don't actually include browser-polyfill
Browse files Browse the repository at this point in the history
  • Loading branch information
Rayquaza01 committed Mar 16, 2021
1 parent 468d3ac commit 8dcb60b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 8 deletions.
5 changes: 1 addition & 4 deletions src/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,7 @@
"96": "icons/icon-96.png"
},
"background": {
"scripts": [
"browser-polyfill.min.js",
"background.bundle.js"
]
"scripts": ["background.bundle.js"]
},
"browser_action": {
"default_popup": "changelog.html",
Expand Down
2 changes: 1 addition & 1 deletion src/pages/options/options.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<link rel="stylesheet" type="text/css" href="options.css">
<script src="browser-polyfill.min.js" defer></script>
<!-- <script src="browser-polyfill.min.js" defer></script> -->
</head>
<body>
<div>
Expand Down
2 changes: 1 addition & 1 deletion src/pages/popup/changelog.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<link rel="stylesheet" type="text/css" href="changelog.css">
<script src="browser-polyfill.min.js" defer></script>
<!-- <script src="browser-polyfill.min.js" defer></script> -->
</head>
<body>
<div id="push"></div>
Expand Down
4 changes: 2 additions & 2 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ module.exports = {
to: "_locales",
toType: "dir"
},
{ from: "node_modules/webextension-polyfill/dist/browser-polyfill.min.js" },
{ from: "node_modules/webextension-polyfill/dist/browser-polyfill.min.js.map" }
// { from: "node_modules/webextension-polyfill/dist/browser-polyfill.min.js" },
// { from: "node_modules/webextension-polyfill/dist/browser-polyfill.min.js.map" }
]
})
],
Expand Down

0 comments on commit 8dcb60b

Please sign in to comment.