Uno.Wasm.Bootstrap icon indicating copy to clipboard operation
Uno.Wasm.Bootstrap copied to clipboard

How to create single wasm bundle

Open pandarun opened this issue 4 years ago • 1 comments

Hello!

Thank you for the great project!

Is it possible to build single-file distribution like here?

I've tried to compile the Hello World project with Uno.Wasm.Bootstrap package together with <WasmShellMonoRuntimeExecutionMode>FullAOT</WasmShellMonoRuntimeExecutionMode> but when serving this sample I see that multiple files are still downloaded

Screenshot from 2020-05-24 02-11-49_2

msbuild.log

Thanks in advance!

pandarun avatar May 23 '20 23:05 pandarun

It's not possible to make a single file WebAssembly package using mono, yet. It still needs a javascript satellite file (emscripten needs it), and the DLLs for the metadata support.

jeromelaban avatar May 24 '20 14:05 jeromelaban