Skip to content

Commit 76255c4

Browse files
committed
build(android): build web assets with production flag in Android build script
- Modify build-android.sh to run ionic build with --prod flag for production optimization - Add @ionic/cli 7.2.1 dependency and related packages to package-lock.json for updated Ionic CLI support - Update numerous dev dependencies to compatible versions for build consistency and environment requirements
1 parent f397858 commit 76255c4

File tree

3 files changed

+1322
-20
lines changed

3 files changed

+1322
-20
lines changed

mobile/build-android.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ fi
1515
# Check if www directory exists, if not build the project
1616
if [ ! -d "www" ] || [ -z "$(ls -A www)" ]; then
1717
echo "Building web assets..."
18-
ionic build
18+
./mobile/node_modules/.bin/ionic build --prod
1919
fi
2020

2121
echo "Adding Android platform..."

0 commit comments

Comments
 (0)