Removing sourcemaps after upload.
This commit is contained in:
parent
79c31ac6ca
commit
49d3ec055a
|
|
@ -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"
|
||||
Loading…
Reference in New Issue
Block a user