src/vs/workbench/services/extensionResourceLoader/browser/extensionResourceLoaderService.ts/ExtensionResourceLoaderService/readExtensionResource
class ExtensionResourceLoaderService:	async readExtensionResource(uri: URI): Promise<string> {
		uri = FileAccess.asBrowserUri(uri);

		if (uri.scheme !== Schemas.http && uri.scheme !== Schemas.https) {
			const result = await this._fileService.readFile(uri);
			return result.value.toString();
		}

		const response = await fetch(uri.toString(true));
		if (response.status !== 200) {
			throw new Error(response.statusText);
		}
		return response.text();

	}