CSS assets with same name are overwritten #11117
Labels
area: @angular-devkit/build-angular
freq1: low
Only reported by a handful of users who observe it rarely
severity3: broken
type: bug/fix
Milestone
Versions
Repro steps
ng new my-project
cd my-project
npm install flag-icon-css
ng build
ls dist/my-project
ng build --output-hashing=all
ls dist/my-project
Observed behavior
The flag-icon-css package defines a stylesheet with links to svg files. There are two svg files (squared and rectangular flag) for each supported country, both have the same name but are located in a different folder.
For a build without arguments, a list of svg files is shown, only one for each country supported by the css file.
With
--output-hashing
all svg files are shown.Desired behavior
ng build
should copy all files to the dist folder.The text was updated successfully, but these errors were encountered: