mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-03-28 07:51:07 +00:00
Merge pull request #520 from cdisselkoen/typo-fixes
Fix a few typos in guide
This commit is contained in:
commit
cec12ae2d8
@ -7,7 +7,7 @@ Let's implement the equivalent of "Hello, world!" for this crate.
|
|||||||
|
|
||||||
[rustup]: https://rustup.rs
|
[rustup]: https://rustup.rs
|
||||||
|
|
||||||
If you'd like you dive [straight into an online example][hello-online], but
|
If you'd like you can dive [straight into an online example][hello-online], but
|
||||||
if you'd prefer to follow along in your own console let's install the tools we
|
if you'd prefer to follow along in your own console let's install the tools we
|
||||||
need:
|
need:
|
||||||
|
|
||||||
@ -98,7 +98,7 @@ At this point you'll probably plug these files into a larger build system.
|
|||||||
Files emitted by `wasm-bindgen` act like normal ES6 modules (one just happens to
|
Files emitted by `wasm-bindgen` act like normal ES6 modules (one just happens to
|
||||||
be wasm). As of the time of this writing there's unfortunately not a lot of
|
be wasm). As of the time of this writing there's unfortunately not a lot of
|
||||||
tools that natively do this, but Webpack's 4.0 beta release has native wasm
|
tools that natively do this, but Webpack's 4.0 beta release has native wasm
|
||||||
support!. Let's take a look at that and see how it works.
|
support! Let's take a look at that and see how it works.
|
||||||
|
|
||||||
First create an `index.js` file:
|
First create an `index.js` file:
|
||||||
|
|
||||||
|
@ -29,4 +29,4 @@ some notable options are:
|
|||||||
JS file, but this flag will disable generating this TypeScript file.
|
JS file, but this flag will disable generating this TypeScript file.
|
||||||
|
|
||||||
* `--debug`: generates a bit more JS and wasm in "debug mode" to help catch
|
* `--debug`: generates a bit more JS and wasm in "debug mode" to help catch
|
||||||
programmer errors, but this output isn't intended to be shipped to production
|
programmer errors, but this output isn't intended to be shipped to production.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user