Couldn't find a plugin to load web assembly modules so I wrote one. Posting it here in case anyone else needs it whenever:
./wasm.js:
exports.fetch = () => ""
exports.instantiate = function (load) {
const loader = this
return fetch(load.address).then(r => {
const contentType = r.headers.get("content-type")