Devtools_page not working with Manifest V3

I’m preparing to upgrade React Developer Tooling add-on following this guide https://extensionworkshop.com/documentation/develop/manifest-v3-migration-guide/
I’ve got everything working with Manifest V3 on Chrome. But with Firefox, devtools tab is no longer working.

We have a “devtools_page” attribute in manifest pointing to “main.html”, where “main.js” is loaded. With V2, you can see the JS is loaded when you inspect the extension. The new tabs are added to the devtools bar.

However, when I upgrade to V3, only “background.js” (added by background.scripts in manifest.json) is loaded. “main.js” is gone.

Any ideas how I can proceed?

1 Like