This might also be done with a beforeResolve hook, so that if a configuration is referenced in a afterEvaluate, this will still work.