I am using ASP.NET Core with Grunt. I need to check the project environment. How can I do something like this?
if(ASPNETCORE_ENVIRONMENT === 'Production')
{
//do something
}
else
{
//do something
}
I am using ASP.NET Core with Grunt. I need to check the project environment. How can I do something like this?
if(ASPNETCORE_ENVIRONMENT === 'Production')
{
//do something
}
else
{
//do something
}