We already support optional dependencies by specifying optional: true
in your dependencies and then you can use something like if Code.ensure_loaded?(ModuleInADep)
to check if a dependency is available or not.
7 Likes