We have a zipped static resource (our help documentation that includes lots of images) that is of size 4,977,413 bytes when zipped using Deflater.BEST_COMPRESSION. But once converted to SFDX format, a
sfdx force:source:push reports:
static resource cannot exceed 5MB
as presumably it is using a different compression algorithm.
Is the SFDX code that does the compression accessible i.e. is it somewhere in the
node_modules? And if so, where is it?