add option useExtensionAlias in getLocalRequire