English · 中文
Pack a source archive for AMO source code submission. The add-on zip is minified; Mozilla needs this source to rebuild it.
pnpm pack:firefox:sources
Output: releases/devtools-unlock_v{version}.firefox-sources.zip
node_modules, dist, releases, .git, or analysis/SOURCE.md at the zip root folder (devtools-unlock/SOURCE.md) with rebuild stepsReviewer steps (also in SOURCE.md):
pnpm install
pnpm build:firefox
# compare dist/firefox/ with the uploaded *.firefox.zip
Upload two files on AMO:
pnpm build:firefox:zip → *.firefox.zippnpm pack:firefox:sources → *.firefox-sources.zip