mirror of
https://github.com/abhijithvijayan/web-extension-starter.git
synced 2026-01-30 09:48:12 +01:00
chore: declaratively inject content_scripts using manifest file
This commit is contained in:
parent
2e229188cc
commit
5126e66298
@ -56,6 +56,13 @@ const manifestInput = {
|
|||||||
scripts: ['js/background.bundle.js'],
|
scripts: ['js/background.bundle.js'],
|
||||||
'__chrome|opera__persistent': false,
|
'__chrome|opera__persistent': false,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
content_scripts: [
|
||||||
|
{
|
||||||
|
matches: ['http://*/*', 'https://*/*'],
|
||||||
|
js: ['js/contentScript.bundle.js'],
|
||||||
|
},
|
||||||
|
],
|
||||||
};
|
};
|
||||||
|
|
||||||
module.exports = manifestInput;
|
module.exports = manifestInput;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user