UNPKG

1.38 kBTypeScriptView Raw
1/**
2 * App Shell target options for Build Facade.
3 */
4export interface Schema {
5 /**
6 * Script that exports the Server AppModule to render. This should be the main JavaScript
7 * outputted by the server target. By default we will resolve the outputPath of the
8 * serverTarget and find a bundle named 'main' in it (whether or not there's a hash tag).
9 */
10 appModuleBundle?: string;
11 /**
12 * A browser builder target use for rendering the application shell in the format of
13 * `project:target[:configuration]`. You can also pass in more than one configuration name
14 * as a comma-separated list. Example: `project:target:production,staging`.
15 */
16 browserTarget: string;
17 /**
18 * The input path for the index.html file. By default uses the output index.html of the
19 * browser target.
20 */
21 inputIndexPath?: string;
22 /**
23 * The output path of the index.html file. By default will overwrite the input file.
24 */
25 outputIndexPath?: string;
26 /**
27 * The route to render.
28 */
29 route?: string;
30 /**
31 * A server builder target use for rendering the application shell in the format of
32 * `project:target[:configuration]`. You can also pass in more than one configuration name
33 * as a comma-separated list. Example: `project:target:production,staging`.
34 */
35 serverTarget: string;
36}