configure.ac: Explicitly set NODE_ENV when --enable-debug

This allows us to override a NODE_ENV=production from the environment
and have our minimization webpack logic react appropriately.

Reviewed-by: Dominik Perpeet <dperpeet@redhat.com>
This commit is contained in:
Stef Walter 2016-11-09 11:46:31 +01:00 committed by Dominik Perpeet
parent 11e4053b39
commit 4f2df889d7

View file

@ -458,6 +458,7 @@ if test "$enable_debug" = "yes"; then
debug_status="yes"
debugdir=
CFLAGS="$CFLAGS -O0"
NODE_ENV="development"
elif test "$enable_debug" = "no"; then
debug_status="no"
CFLAGS="$CFLAGS -O2"