From 9302bb68ebf29b794ebd74378f8a7860d3649dce Mon Sep 17 00:00:00 2001
From: fahrnbach <167583464+fahrnbach@users.noreply.github.com>
Date: Sat, 2 Nov 2024 21:02:01 -0400
Subject: [PATCH 1/5] Update deploy-an-angular-site.mdx
Hotfix for Update Build Settings For angular. Fixed and working.
Request to change PagesBuildPreset to this solution or add instructions to change the ng build command in package.json.
Request to update the Angular preset on the dashboard to match.
Seems like there are quite a few people with this issue.
See: https://github.com/cloudflare/workers-sdk/issues/5527
Also: https://stackoverflow.com/questions/78463333/fail-to-deploy-angular-project-on-cloudflare-pages/79151848#79151848
And: https://community.cloudflare.com/t/angular-app-deployed-to-pages-is-unavailable-on-domain/632745
---
.../docs/pages/framework-guides/deploy-an-angular-site.mdx | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/content/docs/pages/framework-guides/deploy-an-angular-site.mdx b/src/content/docs/pages/framework-guides/deploy-an-angular-site.mdx
index 7a4569156bbc9a2..6653166e0dcaa35 100644
--- a/src/content/docs/pages/framework-guides/deploy-an-angular-site.mdx
+++ b/src/content/docs/pages/framework-guides/deploy-an-angular-site.mdx
@@ -58,6 +58,10 @@ You will be asked to authorize access to your GitHub account if you have not alr
+##On Some Versions of Angular You may need to:
+Change the Build Command to npx ng build --verbose --output-path dist/cloudflare
+Change the Build Directory to dist/cloudflare/browser
+
Optionally, you can customize the **Project name** field. It defaults to the GitHub repository's name, but it does not need to match. The **Project name** value is assigned as your `*.pages.dev` subdomain.
4. After completing configuration, select the **Save and Deploy**.
From e380ade1475f978746bc5c31b181a9d115204e7b Mon Sep 17 00:00:00 2001
From: Jacob
Date: Sun, 3 Nov 2024 01:02:15 -0400
Subject: [PATCH 2/5] Update formatting for warning message
---
.../docs/pages/framework-guides/deploy-an-angular-site.mdx | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/src/content/docs/pages/framework-guides/deploy-an-angular-site.mdx b/src/content/docs/pages/framework-guides/deploy-an-angular-site.mdx
index 6653166e0dcaa35..c545c425c735ad4 100644
--- a/src/content/docs/pages/framework-guides/deploy-an-angular-site.mdx
+++ b/src/content/docs/pages/framework-guides/deploy-an-angular-site.mdx
@@ -58,9 +58,10 @@ You will be asked to authorize access to your GitHub account if you have not alr
-##On Some Versions of Angular You may need to:
-Change the Build Command to npx ng build --verbose --output-path dist/cloudflare
-Change the Build Directory to dist/cloudflare/browser
+:::caution[On some versions of Angular, You may need to:]
+Change the `Build command` to `npx ng build --output-path dist/cloudflare`\
+Change the `Build directory` to `dist/cloudflare/browser`
+:::
Optionally, you can customize the **Project name** field. It defaults to the GitHub repository's name, but it does not need to match. The **Project name** value is assigned as your `*.pages.dev` subdomain.
From d998c189e424ad94bd1992c22dbd4d1cc23b991c Mon Sep 17 00:00:00 2001
From: Jacob <167583464+fahrnbach@users.noreply.github.com>
Date: Sun, 3 Nov 2024 01:25:50 -0400
Subject: [PATCH 3/5] Updated formatting for warning message
---
.../docs/pages/framework-guides/deploy-an-angular-site.mdx | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/src/content/docs/pages/framework-guides/deploy-an-angular-site.mdx b/src/content/docs/pages/framework-guides/deploy-an-angular-site.mdx
index 6653166e0dcaa35..2ae6bedc10daec8 100644
--- a/src/content/docs/pages/framework-guides/deploy-an-angular-site.mdx
+++ b/src/content/docs/pages/framework-guides/deploy-an-angular-site.mdx
@@ -58,9 +58,10 @@ You will be asked to authorize access to your GitHub account if you have not alr
-##On Some Versions of Angular You may need to:
-Change the Build Command to npx ng build --verbose --output-path dist/cloudflare
-Change the Build Directory to dist/cloudflare/browser
+:::caution[On Some Versions of Angular, You may need to:]
+Change the `Build command` to `npx ng build --output-path dist/cloudflare`\
+Change the `Build directory` to `dist/cloudflare/browser`
+:::
Optionally, you can customize the **Project name** field. It defaults to the GitHub repository's name, but it does not need to match. The **Project name** value is assigned as your `*.pages.dev` subdomain.
From f94ca4e4c7cf7d47645ac59fdb7cc6b32bb8c528 Mon Sep 17 00:00:00 2001
From: Jacob <167583464+fahrnbach@users.noreply.github.com>
Date: Sun, 3 Nov 2024 01:31:27 -0400
Subject: [PATCH 4/5] Updated warning message formatting from my unlogged in
account
---
.../docs/pages/framework-guides/deploy-an-angular-site.mdx | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/src/content/docs/pages/framework-guides/deploy-an-angular-site.mdx b/src/content/docs/pages/framework-guides/deploy-an-angular-site.mdx
index b8a61d208af52c6..0e9f8430b916613 100644
--- a/src/content/docs/pages/framework-guides/deploy-an-angular-site.mdx
+++ b/src/content/docs/pages/framework-guides/deploy-an-angular-site.mdx
@@ -58,11 +58,8 @@ You will be asked to authorize access to your GitHub account if you have not alr
-<<<<<<< HEAD
-:::caution[On Some Versions of Angular, You may need to:]
-=======
+
:::caution[On some versions of Angular, You may need to:]
->>>>>>> e380ade1475f978746bc5c31b181a9d115204e7b
Change the `Build command` to `npx ng build --output-path dist/cloudflare`\
Change the `Build directory` to `dist/cloudflare/browser`
:::
From f7a0da8aff2e5d11198cfce855da8505f2cd1fb5 Mon Sep 17 00:00:00 2001
From: ToriLindsay
Date: Tue, 11 Mar 2025 15:02:45 +0000
Subject: [PATCH 5/5] Update
src/content/docs/pages/framework-guides/deploy-an-angular-site.mdx
---
.../docs/pages/framework-guides/deploy-an-angular-site.mdx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/content/docs/pages/framework-guides/deploy-an-angular-site.mdx b/src/content/docs/pages/framework-guides/deploy-an-angular-site.mdx
index 0e9f8430b916613..65dd1b2e6a5d983 100644
--- a/src/content/docs/pages/framework-guides/deploy-an-angular-site.mdx
+++ b/src/content/docs/pages/framework-guides/deploy-an-angular-site.mdx
@@ -59,7 +59,7 @@ You will be asked to authorize access to your GitHub account if you have not alr
-:::caution[On some versions of Angular, You may need to:]
+:::caution[On some versions of Angular, you may need to:]
Change the `Build command` to `npx ng build --output-path dist/cloudflare`\
Change the `Build directory` to `dist/cloudflare/browser`
:::