jspm / project

Roadmap and management repo for the jspm project
161 stars 8 forks source link

Basic Wasm scenario #143

Open guybedford opened 2 years ago

guybedford commented 2 years ago

We should make sure to have a full end-to-end builder test of the basic Wasm scenario:

const mod = await WebAssembly.compileStreaming(fetch(new URL('./simple.wasm', import.meta.url)))
const { exports } = await WebAssembly.instantiate(mod, {...});

With chunking and relocations working out correctly. Likely involves a possible Rollup PR / Rollup plugin.