www: bundle resources statically (#483)

This commit is contained in:
iceiix 2021-01-18 09:48:38 -08:00 committed by GitHub
parent c505903aed
commit 56f9c0e908
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -13,6 +13,7 @@ To build for wasm32-unknown-unknown, run in the top-level directory (not www):
rustup target add wasm32-unknown-unknown
cargo install wasm-bindgen-cli
cargo install wasm-pack
cp -vr resources-*/assets/minecraft/* resources/assets/minecraft && git checkout resources
wasm-pack build --dev
```