Performance improvement: SerialDependencyResolver does not build node graph to resolve dependencies. Modules are ordered while traversing the dependencies.