angular-server-side-configuration
Version:
Configure an angular application on the server
18 lines (17 loc) • 430 B
TypeScript
/**
* Model for ngssc.json.
* @public
*/
export interface Ngssc {
/** The ngssc variant. */
variant: Variant;
/** The environment variables to insert. */
environmentVariables: string[];
/** Pattern for files that should have variables inserted. */
filePattern?: string;
}
/**
* Available angular-server-side-configuration variants.
* @public
*/
export type Variant = 'process' | 'global' | 'NG_ENV';