From 4b9688af04b95a185f979c713344484431aee7cc Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Sun, 31 Aug 2025 23:19:07 +0300 Subject: [PATCH] chore(dx/server): minify output --- apps/server/scripts/build.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/apps/server/scripts/build.ts b/apps/server/scripts/build.ts index b6921a4c0..65a07d3bc 100644 --- a/apps/server/scripts/build.ts +++ b/apps/server/scripts/build.ts @@ -32,7 +32,11 @@ async function build() { loader: { ".css": "text", ".ejs": "text" - } + }, + define: { + "process.env.NODE_ENV": JSON.stringify("production"), + }, + minify: true }); }