mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
This is a follow-up to https://github.com/vercel/next.js/pull/16973 which adds handling for the breaking change in the latest version of css-loader that causes unresolved file references in `url` or `import` to cause the build to fail. This fixes it by adding our own resolve checking and when it fails disabling the `css-loader`'s handling of it. Fixes: https://github.com/vercel/next.js/issues/17701
32 lines
511 B
CSS
32 lines
511 B
CSS
p {
|
|
background-image: url('/vercel.svg');
|
|
}
|
|
|
|
p:nth-child(1) {
|
|
background-image: url(/vercel.svg);
|
|
}
|
|
|
|
/* p:nth-child(2) {
|
|
background-image: url('./vercel.svg');
|
|
}
|
|
|
|
p:nth-child(3) {
|
|
background-image: url(./vercel.svg);
|
|
} */
|
|
|
|
p:nth-child(4) {
|
|
background-image: url('./public/vercel.svg');
|
|
}
|
|
|
|
p:nth-child(5) {
|
|
background-image: url(./public/vercel.svg);
|
|
}
|
|
|
|
div {
|
|
background-image: url('https://vercel.com/vercel.svg');
|
|
}
|
|
|
|
div:nth-child(1) {
|
|
background-image: url('https://vercel.com/vercel.svg');
|
|
}
|