Thanks for your input.
As I wrote I added 'application/wasm' type to MIME types in IIS config, but it didn't work. But as you suggested I checked folders and bingo - this has been solved. The reason was is that due to the fact that we have a complex network hierarchy and structure, the folder was copied incorrectly, hence IIS couldn't find the file that was being requested.