-
-
Notifications
You must be signed in to change notification settings - Fork 607
Closed
Labels
Description
When using the following CSS, I do have an error Module not found: Error: Cannot resolve module for the url() part in the @keyframes block:
.className {
background-image: url("./image.png")
}
@keyframes anim {
0% {
background-image: url("./image.png")
}
}I added a simple test to test/urlTest.js to expose the behaviour:
test("keyframe background img", "@keyframes anim { background: green url('img.png') xyz }", [
[1, "@keyframes anim { background: green url({./img.png}) xyz }", ""]
]);