Consumersshouldusetheexported`extensions` or `jsVariants`objecttodeterminewhichmoduleshouldbeloadedforagivenextension.Ifamatchingextensionisfound,consumersshoulddothefollowing:
1.Ifthevalueisnull,donothing.
2.Ifthevalueisastring,trytorequireit.
3.Ifthevalueisanobject,trytorequirethe`module` property. If successful, the `register`property(afunction)shouldbecalledwiththemodulepassedasthefirstargument.**Advanced:**Anoptionalsecondargumentcanbeprovidedtoreplacethedefaultconfigurationforahook.