Run content scripts at correct phase
This commit is contained in:
parent
49d9446cce
commit
7e1f159185
4 changed files with 32 additions and 10 deletions
|
@ -83,7 +83,7 @@ const injectContentScripts = function (manifest) {
|
|||
if (contentScripts[manifest.name] || !manifest.content_scripts) return
|
||||
|
||||
const readArrayOfFiles = function (relativePath) {
|
||||
return fs.readFileSync(path.join(manifest.srcDirectory, relativePath))
|
||||
return String(fs.readFileSync(path.join(manifest.srcDirectory, relativePath)))
|
||||
}
|
||||
|
||||
const contentScriptToEntry = function (script) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue