When you run cargo leptos build --split is generates html where it requests pkg/web-app_bg.wasm. But if you look in the pkg dir there is no such file with the extention _bg.wasm. Only pkg/web-app.wasm.
Is this just a naming error of the file of is the _bg a different file that was not generated?
Now the UI is not functional due to the load failure.