In order to implement your logic in Telerik Platform
you can use configuration-specific files. When you run a build, AppBuilder
takes the file that matches the currently set build configuration and includes it in your application package. For example, when you run a build with the Debug
and includes it in your application package as
You can find more information on the configuration-specific files implementation here
. In your case you can create a [dataConnectors].debug.js
file using your data connectors for the dev environment and [dataConnectors].release.js
for the production environment.
Give this a try and let me know if it helps.