open manifest.json with virtual studio code (or any) , look for something like worker:"background.js"
then just add the line right below it. lmk if there's any iasues
read the reply on top ^^
hello author , FYI, currently background worker isnt supported by firefox , instead use scripts would solve the issue by changing the code in manifest.json (keep both worker and scripts for chronium based browser and firefox)
"scripts": ["background.js"]