UNPKG

angular-server-side-configuration

Version:
27 lines (24 loc) 586 B
/** * Model for ngssc.json. * @public */ 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 */ type Variant = 'process' | 'global' | 'NG_ENV'; declare function insert(options?: { dryRun?: boolean; recursive?: boolean; directory?: string; }): void; export { insert }; export type { Ngssc, Variant };