-
|
Hello everybody, I have made my extension with WXT and I want to publish it to firefox but, the online documentation of this isn't very clear. With the command I have already zip my project with Someone can explain me how to publish ? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Beta Was this translation helpful? Give feedback.
Make sure your extension works in Firefox. WXT creates extensions for Firefox using MV2. To build your extension for Firefox, type
wxt build -b firefox. This makes a folder .output/firefox-mv2. You can test your extension in Firefox by following these instructions.After testing, create two ZIP files with the command
wxt zip -b firefox. You'll get.output/*-firefox.zipand.output/*-sources.zip. These are the files you need to submit your extension on the Firefox addon store.*-firefox.zipfirst. This is your extension ready to use.*-sources.zip.