Open MorisR opened 3 years ago
I am also having the same issue when my css uses the ID of an SVG
.ant-empty-img-default-path-2 {
fill: url(#linearGradient-1);
}
Error:
(styles plugin) Error: Unresolved URL `#linearGradient-1` in `fill: url(#linearGradient-1)`
Hey, It's my first time using rollup as a bundler and I'm facing a strange bug when it comes to handling css "url()" values
I'm importing a less file with the following css class in it
Expected: the code snippet to stay the same
Reality: the following asset file is getting generated
and is being referenced in the output css file, like so
This is the rollup config file for reference