README: remove dist/ and clarify installation of other packages
This commit is contained in:
parent
75ca385e42
commit
642315eabc
1 changed files with 6 additions and 3 deletions
|
@ -66,11 +66,14 @@ var foobar = {
|
||||||
module.exports = foobar
|
module.exports = foobar
|
||||||
```
|
```
|
||||||
|
|
||||||
Then, using browserify, compile `foobar.js` for use in the browser:
|
Each of these included packages are seperate to `bitcoinjs-lib`, and must be installed separately.
|
||||||
|
They are however used in the bitcoinjs-lib public API.
|
||||||
|
|
||||||
$ browserify foobar.js -s foobar > dist/foobar.js
|
Using browserify, compile `foobar.js` for use in the browser:
|
||||||
|
|
||||||
You will then be able to load `dist/foobar.js` into your browser, with each of the dependencies above accessible from the global `foobar` object.
|
$ browserify foobar.js -s foobar > foobar.js
|
||||||
|
|
||||||
|
You will then be able to load `foobar.js` into your browser, with each of the dependencies above accessible from the global `foobar` object.
|
||||||
|
|
||||||
**NOTE**: See our package.json for the currently supported version of browserify used by this repository.
|
**NOTE**: See our package.json for the currently supported version of browserify used by this repository.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue