Skip to content

Commit

Permalink
Update multi-platform-builds.mdx
Browse files Browse the repository at this point in the history
  • Loading branch information
cezaraugusto authored Dec 30, 2024
1 parent 4ddbf3d commit a5d9638
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions docs/en/docs/features/multi-platform-builds.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,19 @@ all necessary assets and manifest files for the specified browser:
The zip file will be named according to the extension's `name` and `version` in `manifest.json`
(e.g., `my-extension-1.0.0.zip` for Chrome).

## Generating a Zip File From Source

Sometimes you need to generate a zip file from source, like when submitting your extension to Mozilla Add-Ons store.
For that case, you can run `--zip-source`.

<PackageManagerTabs
command={{
npm: "npx extension build --zip-source",
pnpm: "pnpx extension build --zip-source",
yarn: "yarn dlx extension build --zip-source",
}}
/>

## Polyfill Support

Ensure compatibility with older browsers by adding the `--polyfill` flag.
Expand Down

0 comments on commit a5d9638

Please sign in to comment.