Manual:$wgResourceLoaderSources/en

Details
Extensions can register foreign module sources here. The default "$local" source for modules from the local wiki is not set in this array. Instead that one is defined by $construct so that it cannot be unset or overwritten.

Example: