From 063587aca9a5cc03abc314d4e690de5d16c8e78c Mon Sep 17 00:00:00 2001 From: maulanasdqn Date: Fri, 10 Apr 2026 22:27:00 +0700 Subject: [PATCH] fix: update landing project.json for Nx affected detection and correct build output --- apps/landing/project.json | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/apps/landing/project.json b/apps/landing/project.json index e5d22cd..f23f1eb 100644 --- a/apps/landing/project.json +++ b/apps/landing/project.json @@ -5,8 +5,18 @@ "projectType": "application", "tags": [], "targets": { - "dev": { "command": "cd apps/landing && npx astro dev" }, - "build": { "command": "cd apps/landing && npx astro build" }, - "preview": { "command": "cd apps/landing && npx astro preview" } + "dev": { + "command": "npx astro dev", + "options": { "cwd": "apps/landing" } + }, + "build": { + "command": "npx astro build --outDir ../../dist/apps/landing", + "options": { "cwd": "apps/landing" }, + "outputs": ["{workspaceRoot}/dist/apps/landing"] + }, + "preview": { + "command": "npx astro preview", + "options": { "cwd": "apps/landing" } + } } }