in the daily code, we may have a lot of console.log, that may be deleted before each release
do you have any good management methods to enable the test environment to configure whether to print logs, and the production environment to delete console from the code
Today, I think it"s good to see the code written by someone.
__DEBUG__&&console.log("-sharp--baseUrl:", baseUrl);
__DEBUG__&&console.log("-sharp--:", `${baseUrl}${url}`);
__DEBUG__&&console.log("-------------------------");
but I don"t know how to delete this line when packing. I only delete the line with console in the business code. I can"t delete the
in the framework and library. Or do you have any good solutions