Is there a way to access process.env.NODE_ENV values in project JS files?
I mean, something similar as I do in webpack. I can access to process.env.NODE_ENV from a js file's project to do some code or another depending on the environment.
For the moment I can only access environmental variable in grunt tasks.
Thanks.
Is there a way to access process.env.NODE_ENV values in project JS files?
I mean, something similar as I do in webpack. I can access to process.env.NODE_ENV from a js file's project to do some code or another depending on the environment.
For the moment I can only access environmental variable in grunt tasks.
Thanks.