When working on widgets within a team or on a redistributable set of work, it is beneficial to make use of Telligent Community platform services to make development, versioning, and deployment easier.
For more information, please see the developer training topic on community.telligent.com: https://community.telligent.com/training/w/developer90/52489.managing-widget-source-and-distribution