❔ How do I publish a WebAssembly app to a singlefile executable
How do I publish a web assembly app to a selfhosted single executable file?
Using these settings just tells me this
![](https://utfs.io/f/a7a0783c-a0f0-4bb4-a1a1-4592ed5f7e36-1nq2cb.png)
![](https://utfs.io/f/f93cf57d-719f-4b69-b1dc-f6a6dc227641-1nq2cb.png)
4 Replies
You don't
WASM app runs in the browser
You don't want it to be a single file
Oh, so say I were to run
dotnet publish
, it builds just fine, but how do I run it from that folder?
Do I need to use something like nginx?For example
Or a static site host
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.