In your blog A masochist’s guide to web development the last S of the option sEXPORTED_FUNCTIONS is missing in the instructions
emcc -sEXPORTED_FUNCTION=_multiply -o library.js library.c
emcc -sEXPORTED_FUNCTION=_multiply -sMODULARIZE -sEXPORT_NAME=MyLibrary \
-o library.mjs library.c
Note also the missing prompt symbol $ in both instructions.
In your blog A masochist’s guide to web development the last
Sof the optionsEXPORTED_FUNCTIONSis missing in the instructionsemcc -sEXPORTED_FUNCTION=_multiply -sMODULARIZE -sEXPORT_NAME=MyLibrary \ -o library.mjs library.cNote also the missing prompt symbol
$in both instructions.