Angular CLI SSR Configuration removes trailing comma in AppConfig, resulting in Syntax Errors #26911
Labels
area: @schematics/angular
freq1: low
Only reported by a handful of users who observe it rarely
severity3: broken
type: bug/fix
Uh oh!
There was an error while loading. Please reload this page.
Command
add
Is this a regression?
The previous version in which this bug was not present was
No response
Description
Upon running
ng add @angular/ssr
the following happened:provideClientHydration
was not placed on a new line and the trailing comma was removed, resulting in a syntax error.Minimal Reproduction
run:
ng add @angular/ssr
Exception or Error
Your Environment
Anything else relevant?
No response
The text was updated successfully, but these errors were encountered: