mubaidr / vite-vue3-browser-extension-v3

Another vite powered web extension (chrome, firefox, etc.) starter template.
506 stars 68 forks source link

Unable to load firefox dist folder in Firefox developers edition #132

Closed realrecordzLab closed 1 day ago

realrecordzLab commented 2 days ago

After run the command pnpm build, I'm only able to load the unpacked extension in chrome. If I try to install the extension in firefox developers edition I'm unable to select the firefox folder that is created inside the dist folder. Is this problem occurs only to me or is a bug? How I can pack the extension?

mubaidr commented 2 days ago

In firefox you select manifest file to load, are sure you are laoding it correct way?

realrecordzLab commented 1 day ago

In firefox you select manifest file to load, are sure you are laoding it correct way?

I'm able to select the manifest file at the moment. The problem is that it will contain invalid keys for firefox. I'm also getting this error logged, it will not occur in chrome

TypeError: can't access property "ready", navigator.serviceWorker is undefined
mubaidr commented 1 day ago

I just tested the latest build on Firefox, everything works fine!

Screenshot_20241203_000216