We have an existing angular project with scss setup architecture like this but after upgrading to angular v11 with angular cli v11, we are facing this issue, not able to find what is causing it 
can someone help us?
I have also created stackblitz as well.
Thank you in advance.
Error: ./src/app/app.component.scss
Module Error (from ./node_modules/postcss-loader/dist/cjs.js):
(Emitted value instead of an instance of Error) CssSyntaxError: C:\Users\VNelapati\Projects\NXT_Gen\app.component.scss:11:4: Can't resolve './assets/iconscaret-down-blue-16.png' in 'C:\Users\VNelapati\Projects\NXT_Gen\ax-upgrade\angular11\src\app'
9 | right: 16px;
10 | cursor: pointer;
> 11 | background-image: url($icon-url +"caret-down-blue-16.png");
| ^
12 | }
13 |
I have cloned your repo instead of your stackblitz since there are instances that Stackblitz doesn't recognize absolute paths on
scss importsHave found the problem and In order to resolve your issue:
1.) Put
/at thestartandendof your$icon-urlon your_variables.scss:2.) On your
app.component.scss