Skip to content
This repository has been archived by the owner on Jun 1, 2022. It is now read-only.

Commit

Permalink
Add new demo environment
Browse files Browse the repository at this point in the history
  • Loading branch information
radu-matei committed Jul 19, 2018
1 parent 8c948f1 commit f2e2790
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
24 changes: 24 additions & 0 deletions angular.json
Expand Up @@ -50,6 +50,27 @@
"with": "src/environments/environment.prod.ts"
}
]
},
"demo": {
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
"extractCss": true,
"namedChunks": false,
"aot": true,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true,
"fileReplacements": [
{
"replace": "src/app/app.config.ts",
"with": "src/app/app.config.demo.ts"
},
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.prod.ts"
}
]
}
}
},
Expand All @@ -61,6 +82,9 @@
"configurations": {
"production": {
"browserTarget": "kashti:build:production"
},
"demo": {
"browserTarget": "kashti:build:demo"
}
}
},
Expand Down
1 change: 1 addition & 0 deletions src/app/app.config.demo.ts
@@ -0,0 +1 @@
export const BRIGADE_API_HOST = 'https://cors-anywhere.herokuapp.com/https://example-api.technosophos.me';

0 comments on commit f2e2790

Please sign in to comment.