mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
try fix prod build
This commit is contained in:
@@ -7,11 +7,9 @@ cd $DIR/../..
|
|||||||
echo "====== Core ======"
|
echo "====== Core ======"
|
||||||
echo "====== Build ======"
|
echo "====== Build ======"
|
||||||
|
|
||||||
export NODE_OPTIONS=--max_old_space_size=8192
|
|
||||||
|
|
||||||
if [ "$CI" = "true" ]; then
|
if [ "$CI" = "true" ]; then
|
||||||
echo "Building core for production"
|
echo "Building core for production"
|
||||||
nx build core --prod || exit 1
|
node --max_old_space_size=8192 ./node_modules/@nrwl/cli/bin/nx build core --prod || exit 1
|
||||||
else
|
else
|
||||||
echo "Building core for development"
|
echo "Building core for development"
|
||||||
nx build core || exit 1
|
nx build core || exit 1
|
||||||
|
Reference in New Issue
Block a user