build/lib/util.ts/createExternalLoaderConfig
export function createExternalLoaderConfig(webEndpoint?: string, commit?: string, quality?: string) {
	if (!webEndpoint || !commit || !quality) {
		return undefined;
	}
	webEndpoint = webEndpoint + `/${quality}/${commit}`;
	const nodePaths = acquireWebNodePaths();
	Object.keys(nodePaths).map(function (key, _) {
		nodePaths[key] = `${webEndpoint}/node_modules/${key}/${nodePaths[key]}`;
	});
	const externalLoaderConfig = {
		baseUrl: `${webEndpoint}/out`,
		recordStats: true,
		paths: nodePaths
	};
	return externalLoaderConfig;
}