Skip to content

Commit 7ac523a

Browse files
committed
Fixed #31 service worker bug
1 parent 49fe9e8 commit 7ac523a

File tree

3 files changed

+3
-7
lines changed

3 files changed

+3
-7
lines changed

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "chrome-extension-boilerplate-react",
3-
"version": "4.0.0",
3+
"version": "4.0.1",
44
"description": "A chrome extension boilerplate built with React 17 and Webpack 5",
55
"license": "MIT",
66
"repository": {

src/manifest.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,7 @@
22
"manifest_version": 3,
33
"name": "Chrome Extension with React & Webpack",
44
"options_page": "options.html",
5-
"background": [
6-
{
7-
"service_worker": ["background.bundle.js"]
8-
}
9-
],
5+
"background": { "service_worker": "background.bundle.js" },
106
"action": {
117
"default_popup": "popup.html",
128
"default_icon": "icon-34.png"

0 commit comments

Comments
 (0)