-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Closed
Labels
featureLabel used to distinguish feature request from other issuesLabel used to distinguish feature request from other issues
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
}
}
}
}
}Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
featureLabel used to distinguish feature request from other issuesLabel used to distinguish feature request from other issues