From 2a6be4870d207ea995a7949efcb04bfa5ca8af26 Mon Sep 17 00:00:00 2001 From: nilsreichardt Date: Tue, 17 May 2022 16:12:02 +0200 Subject: [PATCH] Pass development stage to flutter web build process. --- .../lib/src/commands/src/deploy_web_app_command.dart | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/sz_repo_cli/lib/src/commands/src/deploy_web_app_command.dart b/tools/sz_repo_cli/lib/src/commands/src/deploy_web_app_command.dart index 2828cbf80..b5f8d29a1 100644 --- a/tools/sz_repo_cli/lib/src/commands/src/deploy_web_app_command.dart +++ b/tools/sz_repo_cli/lib/src/commands/src/deploy_web_app_command.dart @@ -101,7 +101,9 @@ class DeployWebAppCommand extends Command { 'build', 'web', '--release', - '--dart-define=FLUTTER_WEB_USE_SKIA=true' + '--dart-define=FLUTTER_WEB_USE_SKIA=true', + '--dart-define', + 'DEVELOPMENT_STAGE=${releaseStage.toUpperCase()}' ], workingDirectory: _repo.sharezoneFlutterApp.location.path, );