Skip to content

Commit 1e63cee

Browse files
committed
Updated readme for web-ext tool for development
1 parent 1f3e5ce commit 1e63cee

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,21 @@ One who open lots and lots of tabs in a single browser and want to revisit the s
122122
123123
Refer [_Manage your Extension_](https://support.google.com/chrome_webstore/answer/2664769?hl=en) to pin extension on the browser toolbar.
124124
125+
- _Cross Platform_ [ **Only For Development** ]
126+
127+
Reference : https://github.com/mozilla/web-ext
128+
129+
1. Run `npm install --global web-ext`
130+
131+
2. Navigate to `extension` directory and create a copy of `manifest-firefox.json` and rename it to `manifest.json`
132+
133+
3. Then run `web-ext lint` for linting related issues.
134+
135+
4. Finally run following commands for development environment.
136+
- For Firefox instance, `web-ext run --devtools`
137+
- For Chrome instance, `web-ext run --verbose --devtools --target chromium`
138+
139+
**Note**: In case, if `web-ext` command doesn't work, then try to run with `npx web-ext`.
125140
126141
## 📝 Issues and Suggestions
127142

0 commit comments

Comments
 (0)