git
This commit is contained in:
parent
8e0bbe901e
commit
79d01d3ae4
1 changed files with 1 additions and 2 deletions
|
|
@ -174,8 +174,7 @@ build_flutter_app() {
|
|||
# Use -O2 optimization and disable wasm to reduce memory usage during compilation
|
||||
flutter build $FLUTTER_BUILD_TARGET $FLUTTER_BUILD_MODE \
|
||||
--dart-define=API_BASE_URL=$API_BASE_URL \
|
||||
--dart2js-optimization=O2 \
|
||||
--no-wasm
|
||||
--dart2js-optimization=O2
|
||||
|
||||
if [ $? -ne 0 ]; then
|
||||
print_error "Flutter build failed"
|
||||
|
|
|
|||
Loading…
Reference in a new issue