chore: declaratively inject content_scripts using manifest file

This commit is contained in:
abhijithvijayan 2019-11-16 13:39:02 +05:30
parent 2e229188cc
commit 5126e66298

View File

@ -56,6 +56,13 @@ const manifestInput = {
scripts: ['js/background.bundle.js'],
'__chrome|opera__persistent': false,
},
content_scripts: [
{
matches: ['http://*/*', 'https://*/*'],
js: ['js/contentScript.bundle.js'],
},
],
};
module.exports = manifestInput;