Skip to content

Commit 3e75f63

Browse files
committed
Add wasm-pack fork install instructions to README.md
1 parent e555f69 commit 3e75f63

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

README.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -112,13 +112,21 @@ and output to strings.
112112
## Building
113113

114114
You can build the package by running `npm run build`. You must do this prior to
115-
running tests with `npm test`. You **must** have mrbbot's fork of wasm-pack
116-
installed. This upgrades binaryen (wasm-opt) to version_92 which exports
117-
`asyncify_get_state`.
115+
running tests with `npm test`.
116+
117+
You **must** have mrbbot's fork of wasm-pack installed. This upgrades binaryen
118+
(wasm-opt) to version_92 which exports `asyncify_get_state`:
119+
120+
```shell
121+
$ cargo install --git https://github.com/mrbbot/wasm-pack
122+
$ npm run build
123+
$ npm test
124+
```
118125

119126
## License
120127

121-
`html-rewriter-wasm` uses `lol-html` which is BSD 3-Clause licensed:
128+
`html-rewriter-wasm` uses [lol-html](https://github.com/cloudflare/lol-html/)
129+
which is BSD 3-Clause licensed:
122130

123131
```
124132
Copyright (C) 2019, Cloudflare, Inc.

0 commit comments

Comments
 (0)