Reply to 1429712953444610048
You know which modules are "dynamically" loaded, so you can convert logic like this at compile time to a static import construct as shown above, by iterating over all your possible imports and generating the module loader.
That way you can use import with "dynamic" modules.