You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/* Disabled url handling for the second url in the 'background' declaration */
1160
+
color: red;
1161
+
background: url("./url/img.png"),
1162
+
/* webpackIgnore: true */url("./url/img.png");
1163
+
}
1164
+
1165
+
/* prettier-ignore */
1166
+
.class {
1167
+
/* Disabled url handling for the second url in the 'background' declaration */
1168
+
color: red;
1169
+
background: url("./url/img.png"),
1170
+
/* webpackIgnore: true */
1171
+
url("./url/img.png");
1172
+
}
1173
+
1174
+
/* prettier-ignore */
1175
+
.class {
1176
+
/* Disabled url handling for third and sixth urls in the 'background-image' declaration */
1177
+
background-image: image-set(
1178
+
url(./url/img.png) 2x,
1179
+
url(./url/img.png) 3x,
1180
+
/* webpackIgnore: true */url(./url/img.png) 4x,
1181
+
url(./url/img.png) 5x,
1182
+
url(./url/img.png) 6x,
1183
+
/* webpackIgnore: true */
1184
+
url(./url/img.png) 7x
1185
+
);
1186
+
}
1187
+
```
1188
+
1135
1189
### Assets
1136
1190
1137
1191
The following `webpack.config.js` can load CSS files, embed small PNG/JPG/GIF/SVG images as well as fonts as [Data URLs](https://tools.ietf.org/html/rfc2397) and copy larger files to the output directory.
0 commit comments