我的文件css中有这个.component.scss
.bg {
background: url("../../../../assets/images/file.svg") center center no-repeat;
}
Run Code Online (Sandbox Code Playgroud)
并且该路径中只有一个 svg 文件,因此每当我更改该 svg (即fill属性)中的任何内容时,我都会收到此错误
Error: Conflict: Multiple assets emit different content to the same filename file.svg
Run Code Online (Sandbox Code Playgroud)
没有一个问题符合我的情况。
再次运行时ng serve一切正常,但是为什么会出现这种情况呢?