From 51bc2ab8ef8d491b190c23664451ba3f85658a25 Mon Sep 17 00:00:00 2001 From: Junjie Gao Date: Fri, 29 Mar 2024 16:55:07 +0800 Subject: [PATCH] fix: update build script Signed-off-by: Junjie Gao --- scripts/build.py | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/build.py b/scripts/build.py index f26760c..debd8e6 100644 --- a/scripts/build.py +++ b/scripts/build.py @@ -51,6 +51,7 @@ def main(): publish_command.append("-p:PublishAot=true") else: publish_command.append("-p:PublishSingleFile=true") + publish_command.append("-p:PublishTrimmed=true") # Publish for each runtime subprocess.run(publish_command, check=True)