mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-17 19:13:34 +08:00
This commit introduces experimental support to pre-render (SSG) and app-shell generation to the new application builder. - `appShell`: option which can have a value of `true` or `false` has been added to support generating an app-shell. - `prerender`: option which can have a value of `true`, `false` or an object with the below listed properties can be used to static render pages; - `routes`: Array of routes to render. - `discoverRoutes`: Whether the builder should statically discover routes. - `routesFile`: The path to a file containing routes separated by newlines.