bertramdev / asset-pipeline

The core implementation of the asset pipeline for the jvm

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to remove var process = process || {env: {NODE_ENV:

aberbenni opened this issue · comments

Is there any way (eg. config option) to get rid of var process = process || {env: {NODE_ENV: string at the beginning of file?

I have posted an answer in the above mentioned stackoverflow question. This answer might be of use to you.

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.