mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-20 05:24:57 +08:00
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.
13 lines
415 B
TypeScript
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);
|