WASM crate resources fail to resolve when built on Windows
Author: redozCreated Jul 26, 2026Updated Jul 26, 2026
I tried running Makepad’s makepad-example-hello-world as a WASM app on Windows:
cargo makepad wasm --no-threads run -p makepad-example-hello-world --releaseThe browser console filled up with crate_resource_unmapped messages for Makepad’s own packaged fonts and icons, including:
resources/IBMPlexSans-Text.ttf
resources/NotoColorEmoji.ttf
resources/icons/back.svg
resources/NewCMMath-Regular.otfA typical message looked like this:
crate_resource_unmapped crate_part=self
file_path=resources/IBMPlexSans-Text.ttf
abs_path=C:/dev/makepad/.../widgets/resources/IBMPlexSans-Text.ttfI'm not sure I was expecting to see my local dev path in the wasm assembly?
Source: makepad/makepad