79151848

Date: 2024-11-03 00:49:49
Score: 1
Natty:
Report link

It looks like adding the following to your Cloudflare page build configuration found in
Settings>Build>Build Configuration
fixes the deployment issue and any subsequent 404 error you may get once the page deploys.

Build command:
npx ng build --verbose --output-path dist/cloudflare
Build output:
dist/cloudflare/browser

Optionally you can change your package.json build command to be:
npx ng build --verbose --output-path dist/cloudflare
d and leave the cloudflare build command to the deafult of ng build.

If you are building successfully but getting a 404 change the build output to dist/cloudflare/browser

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: user24995052