mirror of
https://github.com/abhijithvijayan/web-extension-starter.git
synced 2026-01-30 09:48:12 +01:00
docs: update readme
This commit is contained in:
parent
e10158c4a4
commit
0f6ff280b2
12
README.md
12
README.md
@ -91,6 +91,14 @@ Then run the following:
|
|||||||
|
|
||||||
- Load the extension via `opera:extensions`
|
- Load the extension via `opera:extensions`
|
||||||
- Check the `Developer Mode` and load as unpacked from extension’s extracted directory.
|
- Check the `Developer Mode` and load as unpacked from extension’s extracted directory.
|
||||||
|
|
||||||
|
### Production
|
||||||
|
|
||||||
|
- `yarn run build` builds the extension for all the browsers to `extension/BROWSER` directory respectively.
|
||||||
|
|
||||||
|
Note: By default the `manifest.json` is set with version `0.0.0`. The webpack loader will update the version in the build with that of the `package.json` version. In order to release a new version, update version in `package.json` and run script.
|
||||||
|
|
||||||
|
If you don't want to use `package.json` version, you can disable the option [here](https://github.com/abhijithvijayan/web-extension-starter/blob/e10158c4a49948dea9fdca06592876d9ca04e028/webpack.config.js#L79).
|
||||||
|
|
||||||
### Generating browser specific manifest.json
|
### Generating browser specific manifest.json
|
||||||
Update `source/manifest.json` file with browser vendor prefixed manifest keys
|
Update `source/manifest.json` file with browser vendor prefixed manifest keys
|
||||||
@ -132,10 +140,6 @@ if the vendor is `chrome` or `opera`, this compiles to:
|
|||||||
|
|
||||||
See the original [README](https://github.com/abhijithvijayan/wext-manifest-loader) of `wext-manifest-loader` package for more details
|
See the original [README](https://github.com/abhijithvijayan/wext-manifest-loader) of `wext-manifest-loader` package for more details
|
||||||
|
|
||||||
### Production
|
|
||||||
|
|
||||||
- `yarn run build` builds the extension for all the browsers to `extension/BROWSER` directory respectively.
|
|
||||||
|
|
||||||
## Show your support
|
## Show your support
|
||||||
|
|
||||||
Give a ⭐️ if this project helped you!
|
Give a ⭐️ if this project helped you!
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user