-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Closed
Labels
featureIssue that requests a new featureIssue that requests a new feature
Description
Bug Report or Feature Request (mark with an x
)
- [ ] bug report -> please search issues before submitting
- [x] feature request
Area
- [x] devkit
- [ ] schematics
We have many projects in the repository and now there is a lot of copy-paste in the angular.json
There is a proposal to add defaultConfigurations
, defaultProjects
and be able to inherit that.
Example
{
"defaultProjects": {
"defaultApp": {
"root": "apps/$appName",
"sourceRoot": "apps/$appName/src",
"projectType": "application"
}
},
"defaultConfigurations": {
"defaultProd": {
"aot": true,
"optimization": true,
"sourceMap": true,
"outputHashing": "all",
"namedChunks": false,
"commonChunk": true,
"buildOptimizer": true
}
},
"projects": {
"app": {
"extend": "defaultApp",
"configurations": {
"prod": {
"extend": "defaultProd",
"extractCss": true,
"extractLicenses": true,
"vendorChunk": false
}
}
}
}
}
MickL, listepo-alterpost, temyrrian-dev, KostyaTretyak, robtaylorten and 23 more
Metadata
Metadata
Assignees
Labels
featureIssue that requests a new featureIssue that requests a new feature