Manual:$wgResourceLoaderSources

Details
Extensions should register foreign module sources here. 'local' is a built-in source that is not in this array, but defined by ResourceLoader::__construct so that it cannot be unset.

Example: