I have some modules that run some plugin registration stuff when they are required, imagine something like
MyCommand.res:
…
CommandModule.addCommand(“foo”, fooCmd)
concise question: how can I tell ReScript that it needs to require the module just so it is loaded (but I dont want to reference anything inside it)
alternatively: is this bad design and what should I do instead? I would prefer having to avoid listing all of the commands in the main module (for my particular project ,its not actually commands, and I might end up with hundreds of registrations)