-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Closed
Labels
area: @schematics/angularfreq1: lowOnly reported by a handful of users who observe it rarelyOnly reported by a handful of users who observe it rarelyseverity3: brokentype: bug/fix
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area: @schematics/angularfreq1: lowOnly reported by a handful of users who observe it rarelyOnly reported by a handful of users who observe it rarelyseverity3: brokentype: bug/fix