Localized and configureable async and sync `requre.resolve()` implementation.