I am trying to build a simple extension, but I get "Service worker registration failed" error on the background.js line. I read some other posts using a wrapper file to load the background.js but I am using chrome version 105 and shouldn't need to use the wrapper fix.
manifest.jason:
{
"name": "Test",
"description" : "Test",
"version": "1.0",
"manifest_version": 3,
"background": {
"service_worker": "background.js"
}
}
background.js:
chrome.action.onClicked.addListener(tab => {
chrome.tabs.update({url: 'http://example.com'});
});