Enable shipping WebAssembly source code alongside main Snap bundle #774
Labels
area-developing
Related to the process of developing snaps / snaps devX.
area-publishing
Related to developer publishing snaps for consumption. Includes manifest-related issues.
type-enhancement
New feature or request
Snaps that use WebAssembly (WASM) currently have two options for loading their WASM source at runtime:
(1) requires network access - which makes it harder to trust the snap - while (2) is clunky and may make the JavaScript bundle impractically large. We need to provide a way for snaps to ship their
.wasm
files alongside the main JavaScript bundle and load them at runtime.The text was updated successfully, but these errors were encountered: