Browse Source

add explanation of building the browser bundle to README

patch-2
Ryan X. Charles 11 years ago
parent
commit
bba0945581
  1. 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
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:
```

Loading…
Cancel
Save