Hi, I tried to find something on the forum, but haven't been lucky.
This is the question, is there a way to exclude html or js code from running on a production release?
I have an html screen where, I am using some code to show app dev version, user id, and some other stuff.
But I want to exclude this from the production release.
Also I have a some code that validates the domains that may register to the app, and I am pragmatically including a domain for testing purposes, I would like to exclude this code from final release.
Is there any code I can use to exclude this from final release some way or I have to clean code before each production release?