o2
This commit is contained in:
parent
cd8fce89d6
commit
5123c35429
1 changed files with 1 additions and 1 deletions
|
|
@ -171,7 +171,7 @@ check_build_directory() {
|
|||
# Function to build Flutter web app for production
|
||||
build_flutter_app() {
|
||||
print_status "Building Flutter web app for production..."
|
||||
flutter build $FLUTTER_BUILD_TARGET $FLUTTER_BUILD_MODE --dart-define=API_BASE_URL=$API_BASE_URL --dart2js-optimization=O
|
||||
flutter build $FLUTTER_BUILD_TARGET $FLUTTER_BUILD_MODE --dart-define=API_BASE_URL=$API_BASE_URL --dart2js-optimization=O2
|
||||
|
||||
if [ $? -ne 0 ]; then
|
||||
print_error "Flutter build failed"
|
||||
|
|
|
|||
Loading…
Reference in a new issue