Production Considerations
What to do in production
There are a few extra things that angular-formly does to help you in development that may not be as helpful in a production environment. It is recommended that you have something like this to improve performance of your app in production:
angular.module('yourModule').config(
function(formlyConfigProvider, formlyApiCheck, onProd) {
if (onProd) {
formlyApiCheck.disable();
formlyConfigProvider.disableWarnings = true;
}
}
);
Updated less than a minute ago