Add hello-world:build:web dependency to hello-web targets

This commit is contained in:
Danny McGee
2023-09-28 23:42:53 -04:00
parent bc8994a780
commit c05f341770
+12
View File
@@ -7,6 +7,12 @@
"targets": {
"build": {
"executor": "@nx/vite:build",
"dependsOn": [
{
"projects": ["hello-world"],
"target": "build:web"
}
],
"outputs": [
"{options.outputPath}"
],
@@ -26,6 +32,12 @@
"serve": {
"executor": "@nx/vite:dev-server",
"defaultConfiguration": "development",
"dependsOn": [
{
"projects": ["hello-world"],
"target": "build:web"
}
],
"options": {
"buildTarget": "hello-web:build"
},