I have a managed application which I'm now trying to move to DX platform of development, but I'm getting an error of exceeding maximum storage:
Maximum size of request reached. Maximum size of request is 52428800 bytes
My app is approximately 80mb. I was trying to download it from Git, and then from IDE I generated a scratch org and tried pushing it.
Difficulty is, since it is big app, I can't isolate modules easily, since, it has objects, and those objects have lightning/vf button overrides and that implicitly includes referenced apex classes. So the code has to be pushed in one go.
How could we work in DX if it does not support apps larger than 50mb? Is there any viable workaround?
I found a Closed issue in CLI Git repository referencing exact same thing. And didn't understand why it should be closed: https://github.com/forcedotcom/cli/issues/109
There should be some arrangement for this kind of situation handling. From latest comment on the issue, there is a plugin, which I'm really grateful of, but it does not really integrate well with the flow. For example, I could do a first push to scratch org with that, but if my scratch org is changed to another and then I want to push static resources alone, then it does not detect the changes and always return blank list of resources for push to new scratch org.
Plus, what will happen if I want to change my static resource, but those are now in .forceignore file (as the necessity of using this plugin). So I uncomment them but still my changes are not detected.
Please someone guide me, how can we use the DX platform well considering it only supports apps smaller than 50mb right now? Any good work flows which I can use here as part of my development practices, please do mention them here.