I've seen the option where URL in SCSS was specified without quotes like background: url(/path/to/image.jpg);
. However, I'm using this with quotes background: url(/path/to/image.jpg);
and this works although PhpStorm stresses these URLs due to problems with directory resolve.
Is there any difference between both options? Should be any used instead of another? Just in case this would help - I'm storing my images in assets
sub folders.
This is not just about CSS it's about SCSS therefore I'm sure that question which is marked as duplicate of is no suitable for my question.
SCSS works in different way since it should be compiled before. If there is a wrong URL a compiler would throw an error about path resolving problem. Also, Angular moves assets from their initial positions. That's why I'm asking.