Closed
Description
What modules are relevant for this feature request?
- builders
- common
- express-engine
Description
When restarting xxx, when some entries were already entered in the configuration files - in the case of app.modules.ts, the CLI detects the BrowserModule and adds .withServerTransition({ appId: 'serverApp' })
It doesn't check if it was there before and as a result it is created
BrowserModule.withServerTransition({ appId: 'serverApp' }).withServerTransition({ appId: 'serverApp' }),
🔬 Minimal Reproduction
Angular 15 prepare SSR on existing app
I took over the code from another developer who was trying to add manually. CLI Add corrected all changes correctly except this one.