如何修复 Angular 和 flag-icons:Two output files share the same path but have different contents: media/...svg
Uli Köhler1 min read
问题
你在 Angular 应用中使用 flag-icons 包,使用 ng build 或 ng serve 构建应用时出现以下错误:
flag_icons_error.txt
[...]
✘ [ERROR] Two output files share the same path but have different contents: media/ic.svg
✘ [ERROR] Two output files share the same path but have different contents: media/un.svg
✘ [ERROR] Two output files share the same path but have different contents: media/xk.svg