Different SDK for specific build

16 views Asked by At

I have a web project. For every site I need different SDK. The final build for specific site of project shouldn't include SDK of other sites (due to a minimum build size is required). How can I handle that?

SDK should implement just several methods. I think it's unwise to create a new branch for each site and after each change to the main branch, commit to all the others. Perhaps there are some more elegant solutions.

My current solution is to have separate branch for each site with it's own SDK. Do changes in main branch and after each change, commit to all the branches.

0

There are 0 answers