[REQUIRED] Environment info
firebase-tools: 15.14.0
angular cli: 21.2.7
Platform: macOS
[REQUIRED] Test case
- Generate a new Angular workspace that does not use SSR:
ng new angular-workspace-nossr --style css --ssr false --ai-config none
cd angular-workspace-nossr
- Init hosting
-
Select a project
-
Observe the following warning:
Detected a Angular codebase with SSR features. We can't guarantee that this site will work on Firebase Hosting, which is
optimized for static sites. Another product, Firebase App Hosting, was designed for SSR web apps. Would you like to use App
Hosting instead? Learn more here: https://firebase.google.com/docs/app-hosting/product-comparison#hostings
[REQUIRED] Steps to reproduce
Follow the test case
[REQUIRED] Expected behavior
There should be no warning. The Angular workspace is not using SSR features. For reference, if you want to create an Angular workspace that does use SSR you can run the following command:
ng new angular-workspace-ssr --style css --ssr true --ai-config none
[REQUIRED] Actual behavior
There is a warning
[REQUIRED] Environment info
firebase-tools: 15.14.0
angular cli: 21.2.7
Platform: macOS
[REQUIRED] Test case
Select a project
Observe the following warning:
[REQUIRED] Steps to reproduce
Follow the test case
[REQUIRED] Expected behavior
There should be no warning. The Angular workspace is not using SSR features. For reference, if you want to create an Angular workspace that does use SSR you can run the following command:
[REQUIRED] Actual behavior
There is a warning