From 7e445c25ff544ca1d0999b054f25c2a9a33456ae Mon Sep 17 00:00:00 2001 From: sjjj986 Date: Tue, 16 Apr 2024 13:40:08 -0400 Subject: [PATCH] Update utils.ts --- packages/@apphosting/adapter-angular/src/utils.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/packages/@apphosting/adapter-angular/src/utils.ts b/packages/@apphosting/adapter-angular/src/utils.ts index d03c8679..00098340 100644 --- a/packages/@apphosting/adapter-angular/src/utils.ts +++ b/packages/@apphosting/adapter-angular/src/utils.ts @@ -55,7 +55,9 @@ export async function checkStandaloneBuildConditions(cwd: string): Promise const { builder } = workspaceProject.targets.get(target)!; if (builder !== REQUIRED_BUILDER) { - throw new Error("Only the Angular application builder is supported."); + throw new Error( + "Only the Angular application builder is supported. Please refer to https://angular.dev/tools/cli/esbuild#for-existing-applications guide to upgrade your builder to the Angular application builder. ", + ); } } @@ -64,7 +66,9 @@ export async function checkStandaloneBuildConditions(cwd: string): Promise */ export function checkMonorepoBuildConditions(builder: string): void { if (builder !== REQUIRED_BUILDER) { - throw new Error("Only the Angular application builder is supported."); + throw new Error( + "Only the Angular application builder is supported. Please refer to https://angular.dev/tools/cli/esbuild#for-existing-applications guide to upgrade your builder to the Angular application builder. ", + ); } }