-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Closed
Labels
area: @angular-devkit/build-angulardevkit/build-angular:browserfreq1: lowOnly reported by a handful of users who observe it rarelyOnly reported by a handful of users who observe it rarelyseverity3: brokentype: bug/fix
Milestone
Description
Bug Report or Feature Request (mark with an x
)
- [x] bug report -> please search issues before submitting
- [ ] feature request
Area
- [x] devkit
- [ ] schematics
Versions
node --version: v9.4.0
npm --version: 5.6.0
macOS high sierra 10.13.5
Repro steps
1- In angular.json add a new configuration and try to replace a css file.
2- add a simple background style to header.local.css
3- import the header.css file into styles.scss
E.g.
"configurations": {
"local": {
"optimization": false,
"outputHashing": "all",
"sourceMap": false,
"extractCss": true,
"namedChunks": false,
"aot": true,
"extractLicenses": false,
"vendorChunk": false,
"buildOptimizer": false,
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/enviroment.local.ts"
},
{
"replace": "src/css/header.css",
"with": "src/css/header.local.css"
}
]
},
The log given by the failure
none
Desired functionality
get the header.css
replaced by header.local.css
Mention any other details that might be useful
Tested with angular cli version 6.0.1 and angular cli version 6.1.0-beta.0
klemenoslaj, hpoul, viceice, c1sar, WuglyakBolgoink and 47 more
Metadata
Metadata
Assignees
Labels
area: @angular-devkit/build-angulardevkit/build-angular:browserfreq1: lowOnly reported by a handful of users who observe it rarelyOnly reported by a handful of users who observe it rarelyseverity3: brokentype: bug/fix