chore(web): default online trunk build

This commit is contained in:
əlemi 2025-01-24 02:00:35 +01:00
parent d13fd39d81
commit c37c0ac58c
Signed by: alemi
GPG key ID: A4895B84D311642C
2 changed files with 2 additions and 2 deletions

View file

@ -42,4 +42,4 @@ regex = "1.11"
[package.metadata.trunk.build]
public_url = "/web/assets/"
filehash = false
offline = true
#offline = true # if you're looking in here, you may want to uncomment this and download wasm-bindgen-cli yourself

View file

@ -8,7 +8,7 @@ it has the drawback of not being search-engine friendly, but machines should pro
## development
it's probably possible to get `upub-web` to build with just `wasm-bindgen`, but i recommend just using `trunk` to keep your sanity. by default `upub-web` sets the "offline" option, so you'll still need to download `wasm-bindgen` yourself (or run with `TRUNK_OFFLINE=false` and let trunk download it itself once)
it's probably possible to get `upub-web` to build with just `wasm-bindgen`, but i recommend just using `trunk` to keep your sanity. trunk will download by itself `wasm-bindgen-cli`.
```
UPUB_BASE_URL=https://dev.upub.social trunk serve --public-url http://127.0.0.1:8080/web