From ee5f8df72b4f95db4860fa4ac5e45368647938e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matej=20Ba=C4=8Do?= Date: Thu, 15 May 2025 11:50:09 +0200 Subject: [PATCH] Fix Flutter default commands --- app/config/frameworks.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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', ],