tahamajs's picture
download
raw
647 Bytes
#!/usr/bin/env bash
array=("production" "staging")
if [[ ${array[@]} =~ "$NX_TASK_TARGET_CONFIGURATION" ]]
then
echo "Building PRODUCTION UMDs for $NX_TASK_TARGET_PROJECT"
npx webpack --env production --env minify --env styles --env entry=./src/main-styles.ts &
npx webpack --env production --env styles --env entry=./src/main-styles.ts &
npx webpack --env production --env minify --env styles=false --env entry=./src/main.ts &
npx webpack --env production --env styles=false --env entry=./src/main.ts &
wait
else
echo "Building DEVELOPMENT UMDs for $NX_TASK_TARGET_PROJECT"
npx webpack
fi

Xet Storage Details

Size:
647 Bytes
·
Xet hash:
41081bc757ceab4abc1f0c80de2d006f1377e0e24d8c6267b3357feeb42ff93b

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.