File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -40,6 +40,11 @@ Our JS entry point is quite small!
40
40
41
41
## Webpack-specific files
42
42
43
+ > ** Note** : Webpack is not required for this example, and if you're interested
44
+ > in options that don't use a JS bundler [ see other examples] [ wab ] .
45
+
46
+ [ wab ] : without-a-bundler.html
47
+
43
48
And finally here's the Webpack configuration and ` package.json ` for this
44
49
project:
45
50
Original file line number Diff line number Diff line change 6
6
7
7
These examples all assume familiarity with ` wasm-bindgen ` , ` wasm-pack ` , and
8
8
building a Rust and WebAssembly project. If you're unfamiliar with these check
9
- out the [ Game of Life tutorial] [ gol ] to help you get started.
9
+ out the [ Game of Life tutorial] [ gol ] or [ wasm pack tutorials] [ wpt ] to help you
10
+ get started.
10
11
11
12
The source code for all examples can also be [ found online] [ code ] to download
12
13
and run locally. Most examples are configured with Webpack/` wasm-pack ` and can
13
14
be built with ` npm run serve ` . Other examples which don't use Webpack are
14
- accompanied with a ` build.sh ` showing how to build it.
15
+ accompanied with instructions or a ` build.sh ` showing how to build it.
15
16
16
17
Note that most examples currently use Webpack to assemble the final output
17
18
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.
20
21
[ code ] : https://github.com/rustwasm/wasm-bindgen/tree/master/examples
21
22
[ gol ] : https://rustwasm.github.io/docs/book/
22
23
[ deploy ] : ../reference/deployment.html
24
+ [ wpt ] : https://rustwasm.github.io/docs/wasm-pack/tutorials/index.html
You can’t perform that action at this time.
0 commit comments