2

I have the StaticResource with name AwesomeApplication where placed zipped files (bundle.js, vendor.bundle.js).

Can I update only bundle.js from my StaticResource, without touching vendor.bundle.js using any Tooling API approach?

I'm working with IlluminatedCloud plugin and there are StaticResource files updating separately through Tooling API. I want to use this approach in my webpack-sfdc-deploy-plugin, to deploy only changed files, not all application.

1

The StaticResource is treated as a binary blob so you can't update any bytes within it. The approach we took on Gearset to allow this sort of functionality was to download the zip, extract it and then do the merge. It works well as an approach

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.