Alan Agius 741cca73c1 feat(@schematics/angular): add ng new --ssr
This commit enabled users to opt-in adding SSR and SSG to their application during the `ng new` experience. This can be done either by using the `--ssr` option or answer `Yes` when prompted.
2023-09-25 20:17:01 +02:00

13 lines
415 B
TypeScript

/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
import { externalSchematic } from '@angular-devkit/schematics';
import { Schema as SSROptions } from './schema';
export default (options: SSROptions) => externalSchematic('@schematics/angular', 'ssr', options);