From c05f341770c7941b97c81d9eb239f0d7cec0ebf7 Mon Sep 17 00:00:00 2001 From: Danny McGee Date: Thu, 28 Sep 2023 23:42:53 -0400 Subject: [PATCH] Add `hello-world:build:web` dependency to `hello-web` targets --- hello-web/project.json | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/hello-web/project.json b/hello-web/project.json index 96de657..5ce8ce0 100644 --- a/hello-web/project.json +++ b/hello-web/project.json @@ -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" },