Skip to content

Commit

Permalink
reverted client profiled build
Browse files Browse the repository at this point in the history
  • Loading branch information
vsvamsi1 committed Jul 31, 2024
1 parent 5632481 commit 3ff5d30
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
1 change: 0 additions & 1 deletion .github/workflows/client-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,6 @@ jobs:
export REACT_APP_SEGMENT_CE_KEY="${{ secrets.APPSMITH_SEGMENT_CE_KEY_RELEASE }}"
fi
REACT_APP_ENVIRONMENT=${{steps.vars.outputs.REACT_APP_ENVIRONMENT}} \
APPSMITH_CLOUD_HOSTING=${{ secrets.APPSMITH_CLOUD_HOSTING }} \
REACT_APP_FUSIONCHARTS_LICENSE_KEY=${{ secrets.APPSMITH_FUSIONCHARTS_LICENSE_KEY }} \
SENTRY_AUTH_TOKEN=${{ secrets.SENTRY_AUTH_TOKEN }} \
REACT_APP_VERSION_EDITION="Community" \
Expand Down
9 changes: 1 addition & 8 deletions app/client/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,6 @@ export REACT_APP_SENTRY_RELEASE=$GIT_SHA
export REACT_APP_CLIENT_LOG_LEVEL=ERROR
# Disable CRA built-in ESLint checks since we have our own config and a separate step for this
export DISABLE_ESLINT_PLUGIN=true
echo "debug client build setting $APPSMITH_CLOUD_HOSTING"
if [ "$APPSMITH_CLOUD_HOSTING" == "true" ]; then
echo "Building profiled build"
craco --max-old-space-size=7168 build --profile --config craco.build.config.js --verbose
else
craco --max-old-space-size=7168 build --config craco.build.config.js
fi

craco --max-old-space-size=7168 build --config craco.build.config.js

echo "build finished"

0 comments on commit 3ff5d30

Please sign in to comment.