fix: update landing project.json for Nx affected detection and correct build output

This commit is contained in:
maulanasdqn
2026-04-10 22:27:00 +07:00
parent 7576b2557d
commit 063587aca9
+13 -3
View File
@@ -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" }
}
}
}