diff --git a/scripts/build/build-content-services.sh b/scripts/build/build-content-services.sh index 3592dac17c..90ed1f1584 100755 --- a/scripts/build/build-content-services.sh +++ b/scripts/build/build-content-services.sh @@ -7,7 +7,7 @@ cd $DIR/../.. echo "====== Content Services ======" echo "====== Build ======" -NODE_OPTIONS=--max_old_space_size=8192 +export NODE_OPTIONS=--max_old_space_size=8192 if [ "$CI" = "true" ]; then echo "Building content-services for production" diff --git a/scripts/build/build-core.sh b/scripts/build/build-core.sh index 41c0d86c60..e7294382e3 100755 --- a/scripts/build/build-core.sh +++ b/scripts/build/build-core.sh @@ -7,7 +7,7 @@ cd $DIR/../.. echo "====== Core ======" echo "====== Build ======" -NODE_OPTIONS=--max_old_space_size=8192 +export NODE_OPTIONS=--max_old_space_size=8192 if [ "$CI" = "true" ]; then echo "Building core for production" diff --git a/scripts/build/build-extensions.sh b/scripts/build/build-extensions.sh index 946ac79cea..03edf62f08 100755 --- a/scripts/build/build-extensions.sh +++ b/scripts/build/build-extensions.sh @@ -4,7 +4,7 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" cd $DIR/../.. -NODE_OPTIONS=--max_old_space_size=8192 +export NODE_OPTIONS=--max_old_space_size=8192 if [ "$CI" = "true" ]; then echo "Building extensions for production" diff --git a/scripts/build/build-insights.sh b/scripts/build/build-insights.sh index 51e3708327..d1dc7f41b2 100755 --- a/scripts/build/build-insights.sh +++ b/scripts/build/build-insights.sh @@ -7,7 +7,7 @@ cd $DIR/../.. echo "====== Insights ======" echo "====== Build ======" -NODE_OPTIONS=--max_old_space_size=8192 +export NODE_OPTIONS=--max_old_space_size=8192 if [ "$CI" = "true" ]; then echo "Building insights for production" diff --git a/scripts/build/build-process-services-cloud.sh b/scripts/build/build-process-services-cloud.sh index 919ac7d7bd..4c765f90bc 100755 --- a/scripts/build/build-process-services-cloud.sh +++ b/scripts/build/build-process-services-cloud.sh @@ -7,7 +7,7 @@ cd $DIR/../.. echo "====== Process Services Cloud ======" echo "====== Build ======" -NODE_OPTIONS=--max_old_space_size=8192 +export NODE_OPTIONS=--max_old_space_size=8192 if [ "$CI" = "true" ]; then echo "Building process-services-cloud for production" diff --git a/scripts/build/build-process-services.sh b/scripts/build/build-process-services.sh index b28b216b92..7c989e1576 100755 --- a/scripts/build/build-process-services.sh +++ b/scripts/build/build-process-services.sh @@ -7,7 +7,7 @@ cd $DIR/../.. echo "====== Process Services ======" echo "====== Build ======" -NODE_OPTIONS=--max_old_space_size=8192 +export NODE_OPTIONS=--max_old_space_size=8192 if [ "$CI" = "true" ]; then echo "Building process-services for production" diff --git a/scripts/build/build-testing.sh b/scripts/build/build-testing.sh index 16d468bcb7..d591e2adec 100755 --- a/scripts/build/build-testing.sh +++ b/scripts/build/build-testing.sh @@ -7,7 +7,7 @@ cd $DIR/../.. echo "====== Testing ======" echo "====== Build ======" -NODE_OPTIONS=--max_old_space_size=8192 +export NODE_OPTIONS=--max_old_space_size=8192 if [ "$CI" = "true" ]; then echo "Building testing for production"