Skip to content

Commit f3c4f6f

Browse files
committed
Update README about compiling for Firefox
1 parent 8f0206a commit f3c4f6f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,14 @@ pnpm build --target=chrome-mv3 # or --target=firefox-mv2
3636
pnpm package --target=chrome-mv3 # or --target=firefox-mv2
3737
```
3838

39+
#### Note about `--target=firefox-mv2`
40+
41+
To generate a proper `manifest.json` file for Firefox, execute the following script first. It ensures that the manifest file is generated with MV2-compatible fields.
42+
43+
```
44+
./scripts/firefox-mv2.sh
45+
```
46+
3947
### Testing
4048

4149
You can test the extension without publishing to the store. Before uploading the bundle to the browser, make sure to [build](#build) the code, then follow these steps:

0 commit comments

Comments
 (0)