How can I architect a moddable game targeting JS if Haxe doesn't have runtime loading?

Hey :). Thank you for the first answer in this topic. I was thinking to expose the entire mod, but your way makes more sense. I realize I forgot an important part in this question, which is the Mod List project. This is required so that any number of mods can be added into the Engine without having to recompile the Engine. I’m updating the question now.

Actually, I’ve made some good progress on this but I’m stuck on loading externs in an extern :). Can you please have a look here? How to include a JS extern in a project that builds another JS extern?