I need help with manifest migration from version 2 to 3.
I have changed the manifest.json, also tried the so many suggested solutions seen in many platform like wrapping up in js file with try/catch using importScripts(),etc.
But nothing worked out. Please help me to fix this
manifest.json:
"background":{
"service_worker":"background-wrapper.js",
"type":"module"
},
backgroud-wrapper.js:
import './background.js';
// importScripts("background.js");
// try {
// importScripts("background.js");
// } catch (e) {
// console.error(e);
// }
background.js
actual background script
have many functionality for the extension