Stefan Oltmann
12/17/2023, 2:57 PMproductionExecutable/index.html
still function properly if I open it directly in the browser locally? Is a hosted server necessary for WebAssembly (WASM)? I had the impression that everything should occur within the browser without the need for a server. 🤔Svyatoslav Kuzmich [JB]
12/17/2023, 3:04 PMStefan Oltmann
12/17/2023, 6:13 PMSvyatoslav Kuzmich [JB]
12/17/2023, 6:37 PMfetch
of a local .wasm
file, that browsers don’t allow (without a flag, like --allow-file-access-from-files
in chrome). If we encoded wasm file inside JS, you’d be able to load it locally. It seems that ESM integration proposal could help with loading wasm as well.Stefan Oltmann
12/17/2023, 6:57 PM--allow-file-access-from-files
somehow?
I think it would be cool if my WASM app would only run offline completely from a local file. 🙂