Skip to content

Instantly share code, notes, and snippets.

@tieppt
Last active February 11, 2023 06:18
Show Gist options
  • Save tieppt/35f7862bb8512c17926cb8456c0bfb06 to your computer and use it in GitHub Desktop.
Save tieppt/35f7862bb8512c17926cb8456c0bfb06 to your computer and use it in GitHub Desktop.
Angular v12 configuration file - angular.json - for ng serve with development by default
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser",
"configurations": {
"production": {
"budgets": [
],
"outputHashing": "all"
},
"development": {
"buildOptimizer": false,
"optimization": false,
"vendorChunk": true,
"extractLicenses": false,
"sourceMap": true,
"namedChunks": true
}
},
"defaultConfiguration": "production"
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"configurations": {
"production": {
"browserTarget": "erp:build:production"
},
"development": {
"browserTarget": "erp:build:development"
}
},
"defaultConfiguration": "development"
},
...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment