diff --git a/app/config/frameworks.php b/app/config/frameworks.php index afdf96145e..ae9830314d 100644 --- a/app/config/frameworks.php +++ b/app/config/frameworks.php @@ -253,8 +253,8 @@ return [ 'adapters' => [ 'static' => [ 'key' => 'static', - 'buildCommand' => 'flutter build web', - 'installCommand' => '', + 'buildCommand' => 'flutter build web --release -t lib/main.dart', + 'installCommand' => 'flutter pub get', 'outputDirectory' => './build/web', 'startCommand' => 'bash helpers/server.sh', ],