Skip to content

Commit

Permalink
Fixed #31 service worker bug
Browse files Browse the repository at this point in the history
  • Loading branch information
lxieyang committed Feb 26, 2021
1 parent 49fe9e8 commit 7ac523a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "chrome-extension-boilerplate-react",
"version": "4.0.0",
"version": "4.0.1",
"description": "A chrome extension boilerplate built with React 17 and Webpack 5",
"license": "MIT",
"repository": {
Expand Down
6 changes: 1 addition & 5 deletions src/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,7 @@
"manifest_version": 3,
"name": "Chrome Extension with React & Webpack",
"options_page": "options.html",
"background": [
{
"service_worker": ["background.bundle.js"]
}
],
"background": { "service_worker": "background.bundle.js" },
"action": {
"default_popup": "popup.html",
"default_icon": "icon-34.png"
Expand Down

0 comments on commit 7ac523a

Please sign in to comment.