Minimize build size

This commit is contained in:
Thomas Nordquist
2019-01-26 22:11:03 +01:00
parent 3f50120a9f
commit 809dbcbd43
9 changed files with 9420 additions and 8472 deletions

View File

@@ -10,19 +10,17 @@ mkdir -p "$DIR"
git clone .git "$DIR"
cd $DIR
# App
cd app
npm install
cd ..
# Backend
cd backend
npm install;
#npm run test
yarn
cd ..
# Build
npm run build
yarn
yarn build
rm -rf node_modules
yarn install --production
rm -rf app/node_modules
cd "$ORIGINAL_DIR"