--- title: Publicar a sua extensão slug: Mozilla/Add-ons/WebExtensions/Publicar_a_sua_extensao tags: - Extensões da Web translation_of: Mozilla/Add-ons/WebExtensions/Package_your_extension_ ---
Packaged extensions in Firefox are called "XPI files", which are ZIP files with a different extension.
You don't have to use the XPI extension when uploading to AMO.
During development, your extension will consist of a directory containing a manifest.json file and the other files it needs—scripts, icons, HTML documents, and so on. You need to zip these into a single file for uploading to AMO.
If you're using web-ext, use web-ext build to package your extension. Otherwise, follow the instructions below for your chosen operating system.
Dica: The ZIP file must be a ZIP of the extension's files themselves, not of the directory containing them.


cd path/to/my-extension/zip -r -FS ../my-extension.zip *