mirror of https://github.com/yewstack/yew
fix example serving (#3701)
specifying an absolute URL as the public base is necessary since trunk 0.19 see also trunk-rs/trunk#668
This commit is contained in:
parent
b8d3e21ca0
commit
620d9076f8
|
@ -33,7 +33,7 @@ for path in examples/*; do
|
|||
export RUSTFLAGS="-Zshare-generics=n -Clto=thin $RUSTFLAGS"
|
||||
fi
|
||||
|
||||
trunk build --release --dist "$dist_dir" --public-url "$PUBLIC_URL_PREFIX$example"
|
||||
trunk build --release --dist "$dist_dir" --public-url "$PUBLIC_URL_PREFIX/$example"
|
||||
|
||||
# check that there are no undefined symbols. Those generate an import .. from 'env',
|
||||
# which isn't available in the browser.
|
||||
|
|
Loading…
Reference in New Issue