Removing sourcemaps after upload.

This commit is contained in:
Satbir Singh 2020-03-04 07:13:38 +00:00
parent 79c31ac6ca
commit 49d3ec055a

View File

@ -9,4 +9,7 @@ GIT_BRANCH=$(git branch --no-color | grep -E '^\*' | sed 's/\*[^a-z]*//g')
# RELEASE=$(echo "$RELEASE" | sed -e 's/[\/\\\ .]/\-/g')
# echo $RELEASE
REACT_APP_SENTRY_RELEASE=$GIT_SHA craco --max-old-space-size=2048 build --config craco.build.config.js
REACT_APP_SENTRY_RELEASE=$GIT_SHA craco --max-old-space-size=2048 build --config craco.build.config.js
rm $PWD/build/static/js/*.js.map
echo "build finished"