Add comment

This commit is contained in:
Alex Dima 2021-12-16 13:46:01 +01:00
parent fb7d55b13a
commit 4a175da2a6
No known key found for this signature in database
GPG key ID: 39563C1504FDD0C9

View file

@ -223,6 +223,8 @@ function packageTask(type, platform, arch, sourceFolderName, destinationFolderNa
return true; // web: ship all extensions for now
}
// Skip shipping UI extensions because the client side will have them anyways
// and they'd just increase the download without being used
const manifest = JSON.parse(fs.readFileSync(path.join(REPO_ROOT, extensionPath)).toString());
return !isUIExtension(manifest);
}).map((extensionPath) => path.basename(path.dirname(extensionPath)))