I noticed that webassemblyjs's instantiate() does not accept a WebAssembly.Module in bufferSource: https://github.com/xtuc/webassemblyjs/blob/master/packages/webassemblyjs/src/index.js#L30
But in the MDN docs, buffersource is allowed to be a WebAssembly.Module:
A typed array or ArrayBuffer containing the binary code of the Wasm module you want to compile, or a WebAssembly.Module.
Would be nice to support this, if possible. Thanks!