update script type to module

This commit is contained in:
buzz-lightsnack-2007 2024-03-19 17:22:32 +08:00
parent 2a628be3e0
commit b6f2abccc2

View file

@ -11,10 +11,14 @@
"default_popup": "gui/popup.htm" "default_popup": "gui/popup.htm"
}, },
"background": {
"service_worker": "scripts/ShopAI.js",
"type": "module"
},
"content_scripts": [ "content_scripts": [
{ {
"matches": ["http://*/*", "https://*/*"], "matches": ["http://*/*", "https://*/*"],
"js": ["scripts/shopAI.js"] "js": ["scripts/watchman.js"]
} }
], ],