angular/projects/shell-chrome/src/environments/environment.prod.ts
AleksanderBodurri a7ea578507 feat(devtools): display latest commit SHA in application (rangle/angular-devtools#243)
* build: set latest SHA commit as system environment variable for chrome build

* build: set latest SHA commit as sys variable for demo build

* feat: create application environment abstraction to reference environment variables inside the ng-devtools library

* test: fix devtools component test
2020-04-02 16:23:03 -07:00

12 lines
201 B
TypeScript

import { Process } from 'ng-devtools';
declare let process: Process;
export const environment = {
production: true,
process: {
env: {
LATEST_SHA: process.env.LATEST_SHA,
},
},
};