Extension files end with the extension .xml, and define <config> tags. A typical configuration file is <web-extension>/share-config-custom.xml.
A configuration file contains <alfresco-config> tags outside the <config> tags. You must preserve these tags in your customized file.