Skip to content

Commit 18e13e2

Browse files
committedMar 13, 2025
feat(@schematics/angular): remove --server-routing option
Server-side rendering (SSR) will always enable server routing when using the application builder. BREAKING CHANGE: `--server-routing` option has been removed from several schematics. Server routing will be used when using the application builder.
1 parent cdfc50c commit 18e13e2

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+95
-469
lines changed
 

‎packages/angular/ssr/schematics/ng-add/index_spec.ts

-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ import { join } from 'node:path';
1414
describe('@angular/ssr ng-add schematic', () => {
1515
const defaultOptions = {
1616
project: 'test-app',
17-
serverRouting: false,
1817
};
1918

2019
const schematicRunner = new SchematicTestRunner(

‎packages/angular/ssr/schematics/ng-add/schema.json

-4
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,6 @@
1616
"description": "Skip the automatic installation of packages. You will need to manually install the dependencies later.",
1717
"type": "boolean",
1818
"default": false
19-
},
20-
"serverRouting": {
21-
"description": "Configure the server application to use the Angular Server Routing API and App Engine APIs (currently in Developer Preview).",
22-
"type": "boolean"
2319
}
2420
},
2521
"required": ["project"],

0 commit comments

Comments
 (0)