fix: update landing project.json for Nx affected detection and correct build output
This commit is contained in:
@@ -5,8 +5,18 @@
|
|||||||
"projectType": "application",
|
"projectType": "application",
|
||||||
"tags": [],
|
"tags": [],
|
||||||
"targets": {
|
"targets": {
|
||||||
"dev": { "command": "cd apps/landing && npx astro dev" },
|
"dev": {
|
||||||
"build": { "command": "cd apps/landing && npx astro build" },
|
"command": "npx astro dev",
|
||||||
"preview": { "command": "cd apps/landing && npx astro preview" }
|
"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" }
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user