How to remove var process = process || {env: {NODE_ENV:
aberbenni opened this issue · comments
Alessandro Berbenni commented
Is there any way (eg. config option) to get rid of var process = process || {env: {NODE_ENV:
string at the beginning of file?
Jan van Oorschot commented
I have just asked a similar question in https://stackoverflow.com/questions/64632219/grails-run-app-services-javascript-starting-with-node-env-line.
Jan van Oorschot commented
I have posted an answer in the above mentioned stackoverflow question. This answer might be of use to you.
David Estes commented
That is placed there so that node modules can run/compile correctly. Often if its not there the js can fail on some modules to compile correctly.