2 ms·
Good advice, definitely want to keep everything in a single branch. While building the enterprise version of Kumu [1], I found it much easier to maintain if I
by rymohr 10y ago
Good advice, definitely want to keep everything in a single branch.
While building the enterprise version of Kumu [1], I found it much easier to maintain if I used the environment to toggle configuration flags rather than scattering if(enterprise) calls throughout the codebase:
BILLING_ENABLED = APP_ENV !== 'enterprise'
if (BILLING_ENABLED) {
// do something
}
[1]: https://kumu.io/ https://kumu.io/