You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,6 +36,14 @@ pnpm build --target=chrome-mv3 # or --target=firefox-mv2
36
36
pnpm package --target=chrome-mv3 # or --target=firefox-mv2
37
37
```
38
38
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
+
39
47
### Testing
40
48
41
49
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