add explanation of building the browser bundle to README
This commit is contained in:
parent
ad5e83f9ff
commit
bba0945581
12
README.md
12
README.md
@ -332,6 +332,18 @@ You can check a more complex usage example at examples/example.html.
|
|||||||
|
|
||||||
## Generating a customized browser bundle
|
## Generating a customized browser bundle
|
||||||
|
|
||||||
|
To build the main bitcore bundle, run:
|
||||||
|
|
||||||
|
```
|
||||||
|
node browser/build.js -m
|
||||||
|
```
|
||||||
|
|
||||||
|
To build all features into the bitcore bundle (which will lead to a large filesize), run:
|
||||||
|
|
||||||
|
```
|
||||||
|
node browser/build.js -a
|
||||||
|
```
|
||||||
|
|
||||||
To generate a customized bitcore bundle, you can specify which submodules you want to include in it with the -s option:
|
To generate a customized bitcore bundle, you can specify which submodules you want to include in it with the -s option:
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user