mirror of
https://github.com/rustwasm/wasm-bindgen.git
synced 2024-12-15 12:44:31 +03:00
Merge pull request #1378 from alexcrichton/doc-tweaks
Clarify some introductory docs
This commit is contained in:
commit
80899abf84
@ -40,6 +40,11 @@ Our JS entry point is quite small!
|
||||
|
||||
## Webpack-specific files
|
||||
|
||||
> **Note**: Webpack is not required for this example, and if you're interested
|
||||
> in options that don't use a JS bundler [see other examples][wab].
|
||||
|
||||
[wab]: without-a-bundler.html
|
||||
|
||||
And finally here's the Webpack configuration and `package.json` for this
|
||||
project:
|
||||
|
||||
|
@ -6,12 +6,13 @@ doing.
|
||||
|
||||
These examples all assume familiarity with `wasm-bindgen`, `wasm-pack`, and
|
||||
building a Rust and WebAssembly project. If you're unfamiliar with these check
|
||||
out the [Game of Life tutorial][gol] to help you get started.
|
||||
out the [Game of Life tutorial][gol] or [wasm pack tutorials][wpt] to help you
|
||||
get started.
|
||||
|
||||
The source code for all examples can also be [found online][code] to download
|
||||
and run locally. Most examples are configured with Webpack/`wasm-pack` and can
|
||||
be built with `npm run serve`. Other examples which don't use Webpack are
|
||||
accompanied with a `build.sh` showing how to build it.
|
||||
accompanied with instructions or a `build.sh` showing how to build it.
|
||||
|
||||
Note that most examples currently use Webpack to assemble the final output
|
||||
artifact, but this is not required! You can review the [deployment
|
||||
@ -20,3 +21,4 @@ documentation][deploy] for other options of how to deploy Rust and WebAssembly.
|
||||
[code]: https://github.com/rustwasm/wasm-bindgen/tree/master/examples
|
||||
[gol]: https://rustwasm.github.io/docs/book/
|
||||
[deploy]: ../reference/deployment.html
|
||||
[wpt]: https://rustwasm.github.io/docs/wasm-pack/tutorials/index.html
|
||||
|
Loading…
Reference in New Issue
Block a user