add explanation of building the browser bundle to README

This commit is contained in:
Ryan X. Charles 2014-06-20 19:38:56 -07:00
parent ad5e83f9ff
commit bba0945581
1 changed files with 12 additions and 0 deletions

View File

@ -332,6 +332,18 @@ You can check a more complex usage example at examples/example.html.
## 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:
```