Thread: pgAdmin 4 commit: Define the proper NODE_ENV environment duringrunning

pgAdmin 4 commit: Define the proper NODE_ENV environment duringrunning

From
Ashesh Vashi
Date:
Define the proper NODE_ENV environment during running the webpack.
Using the webpack.DefinePlugin during the development build too, not
just in production build.

Fixes #2596.

Also - passing option 'warning: false' for UglifyJsPlugin, which will
not show warning messages on the console during the production build.

Branch
------
master

Details
-------
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=2945b3fe93337174cd423367453621049980a0ae
Author: Surinder Kumar <surinder.kumar@enterprisedb.com>

Modified Files
--------------
web/webpack.config.js | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)