A possible workaround consists in defining a DependencyLoader
class in a separate file, exposing a method to dynamically load any source file, then adding the DependencyLoader
file to the externals collection, so that it's not bundled. Then you can just load your dynamic dependencies through DependencyLoader
.