Skip to content

Instantly share code, notes, and snippets.

@Aries0d0f
Last active July 10, 2020 14:32
Show Gist options
  • Save Aries0d0f/f3ca426b030cdb3320de41537c92b75a to your computer and use it in GitHub Desktop.
Save Aries0d0f/f3ca426b030cdb3320de41537c92b75a to your computer and use it in GitHub Desktop.
{
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"version": 1,
"newProjectRoot": "projects",
"projects": {
"your-project-name": {
...,
"architect": {
"build": {
// copy this part
},
"augury": { // add this section
// past there
},
...,
},
...,
},
...,
},
...,
}
{
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"version": 1,
"newProjectRoot": "projects",
"projects": {
"example-project-name": {
...,
"architect": {
"build": {
..., // DO NOT make any change for this section, just keep it as original.
},
"augury": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
...,
"tsConfig": "tsconfig.augury.json",
"aot": false,
...
},
...
},
"serve": {
...,
"configurations": {
...,
"augury": { // add this section
"browserTarget": "your-project-name:augury"
}
}
},
...,
},
...,
},
...,
},
...,
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment