Skip to content

Commit 40a727b

Browse files
authored
Update utils.ts (#167)
1 parent 4c76d7f commit 40a727b

File tree

1 file changed

+6
-2
lines changed
  • packages/@apphosting/adapter-angular/src

1 file changed

+6
-2
lines changed

packages/@apphosting/adapter-angular/src/utils.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,9 @@ export async function checkStandaloneBuildConditions(cwd: string): Promise<void>
5555

5656
const { builder } = workspaceProject.targets.get(target)!;
5757
if (builder !== REQUIRED_BUILDER) {
58-
throw new Error("Only the Angular application builder is supported.");
58+
throw new Error(
59+
"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. ",
60+
);
5961
}
6062
}
6163

@@ -64,7 +66,9 @@ export async function checkStandaloneBuildConditions(cwd: string): Promise<void>
6466
*/
6567
export function checkMonorepoBuildConditions(builder: string): void {
6668
if (builder !== REQUIRED_BUILDER) {
67-
throw new Error("Only the Angular application builder is supported.");
69+
throw new Error(
70+
"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. ",
71+
);
6872
}
6973
}
7074

0 commit comments

Comments
 (0)