I just tried running the WASM example and I always get Initialization of pdfium-render failed!. I used to build everything manually so far with emscripten which is quite a pain. Now it feels more like magic, but...can't tell why that wouldn't work.
Addition: I do get an error about malloc not being defined:
pdfium-render::initialize_pdfium_render(): Module._malloc() not defined. I guess that will be related to the actual wasm build?