Use existing require if available

@Rich-Harris This seems simple enough. Almost too simple, am I missing something?