In our system, we have two buckets, mainly one for testing and the other one is for development. Right now, both need to use exactly same sync gateway function in config json. Is there a way that we write js function only once? Since I had to copy&paste and this makes config file really big.
Thanks a lot.