Manual:$wgResourceLoaderSources/en

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

Example: