css-modules-electron
css-modules-electron copied to clipboard
Problems using "url()" on windows:
I made this simple rule:
background-image: url("icon.png")
It's properly compiled into this:
background-image: url("<disk>:\<path>\icon.png")
But console says:
Failed to load resource: net::ERR_FILE_NOT_FOUND
file///<disk>:/<path (with each / replaced with %0)>icon.png
(notice how it even doesn't include the last ""
Shoudn't on windows be background-image: url("<disk>:\\<path>\\icon.png")
instead?