mirror of
https://github.com/abhijithvijayan/web-extension-starter.git
synced 2026-01-30 09:48:12 +01:00
Remove background scripts
This commit is contained in:
parent
9d717ae9ff
commit
82fcbe804d
@ -1 +0,0 @@
|
|||||||
export {};
|
|
||||||
@ -35,13 +35,6 @@
|
|||||||
"__chrome__minimum_chrome_version": "49",
|
"__chrome__minimum_chrome_version": "49",
|
||||||
"__opera__minimum_opera_version": "36",
|
"__opera__minimum_opera_version": "36",
|
||||||
|
|
||||||
"background": {
|
|
||||||
"scripts": [
|
|
||||||
"js/background.bundle.js"
|
|
||||||
],
|
|
||||||
"__chrome|opera__persistent": false
|
|
||||||
},
|
|
||||||
|
|
||||||
"content_scripts": [{
|
"content_scripts": [{
|
||||||
"matches": [
|
"matches": [
|
||||||
"*://*.encora.it/*"
|
"*://*.encora.it/*"
|
||||||
|
|||||||
@ -25,7 +25,6 @@ const extensionReloaderPlugin =
|
|||||||
entries: {
|
entries: {
|
||||||
// TODO: reload manifest on update
|
// TODO: reload manifest on update
|
||||||
contentScript: "contentScript",
|
contentScript: "contentScript",
|
||||||
background: "background",
|
|
||||||
extensionPage: ["popup", "options"],
|
extensionPage: ["popup", "options"],
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
@ -59,7 +58,6 @@ module.exports = {
|
|||||||
|
|
||||||
entry: {
|
entry: {
|
||||||
manifest: path.join(sourcePath, "manifest.json"),
|
manifest: path.join(sourcePath, "manifest.json"),
|
||||||
background: path.join(sourcePath, "Background", "index.ts"),
|
|
||||||
contentScript: path.join(sourcePath, "ContentScript", "index.ts"),
|
contentScript: path.join(sourcePath, "ContentScript", "index.ts"),
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user