It looks like you’re using resources.Get
where you should be using resources.GetRemote
.
And see:
https://discourse.gohugo.io/t/hugo-v0-112-0-additional-media-types-with-resources-getremote/44538
Also, application/wasm
is a built-in media type, so there’s no need to define this in your site configuration.