@@ -2588,11 +2588,11 @@ exports[`"url" option should work with mini-css-extract-plugin: css 1`] = `
2588
2588
}
2589
2589
2590
2590
.class {
2591
- background: green url( \\"/webpack/public/path/img img .png\\" ) xyz;
2591
+ background: green url( \\"/webpack/public/path/img%20img .png\\" ) xyz;
2592
2592
}
2593
2593
2594
2594
.class {
2595
- background: green url( \\"/webpack/public/path/img img .png\\" ) xyz;
2595
+ background: green url( \\"/webpack/public/path/img%20img .png\\" ) xyz;
2596
2596
}
2597
2597
2598
2598
.class {
@@ -2632,11 +2632,11 @@ exports[`"url" option should work with mini-css-extract-plugin: css 1`] = `
2632
2632
url(/webpack/public/path/font.woff2) format('woff2'),
2633
2633
url(/webpack/public/path/font.eot) format('eot'),
2634
2634
url(/webpack/public/path/font.ttf) format('truetype'),
2635
- url(\\"/webpack/public/path/font with spaces .eot\\") format(\\"embedded-opentype\\"),
2635
+ url(\\"/webpack/public/path/font%20with%20spaces .eot\\") format(\\"embedded-opentype\\"),
2636
2636
url(/webpack/public/path/font.svg#svgFontName) format('svg'),
2637
2637
url(/webpack/public/path/font.woff2) format('woff2'),
2638
2638
url(/webpack/public/path/font.eot?#iefix) format('embedded-opentype'),
2639
- url(\\"/webpack/public/path/font with spaces .eot?#iefix\\") format('embedded-opentype');
2639
+ url(\\"/webpack/public/path/font%20with%20spaces .eot?#iefix\\") format('embedded-opentype');
2640
2640
}
2641
2641
2642
2642
@media (min-width: 500px) {
@@ -2785,7 +2785,7 @@ a {
2785
2785
background-image: -webkit-image-set(\\"/webpack/public/path/img1x.png\\" 1x, \\"/webpack/public/path/img2x.png\\" 2x);
2786
2786
background-image: image-set(\\"/webpack/public/path/img1x.png\\" 1x);
2787
2787
background-image: image-set(\\"/webpack/public/path/img1x.png\\" 1x, \\"/webpack/public/path/img2x.png\\" 2x);
2788
- background-image: image-set(\\"/webpack/public/path/img img .png\\" 1x, \\"/webpack/public/path/img img .png\\" 2x);
2788
+ background-image: image-set(\\"/webpack/public/path/img%20img .png\\" 1x, \\"/webpack/public/path/img%20img .png\\" 2x);
2789
2789
background-image: image-set(\\"/webpack/public/path/img1x.png\\" 1x, \\"/webpack/public/path/img2x.png\\" 2x),
2790
2790
image-set(\\"/webpack/public/path/img1x.png\\" 1x, \\"/webpack/public/path/img2x.png\\" 2x);
2791
2791
background-image: image-set(
@@ -2813,7 +2813,7 @@ a {
2813
2813
url(/webpack/public/path/img2x.png) 2x,
2814
2814
url(/webpack/public/path/img3x.png) 600dpi
2815
2815
);
2816
- background-image: image-set(url(\\"/webpack/public/path/img img .png\\") 1x, url(\\"/webpack/public/path/img img .png\\") 2x);
2816
+ background-image: image-set(url(\\"/webpack/public/path/img%20img .png\\") 1x, url(\\"/webpack/public/path/img%20img .png\\") 2x);
2817
2817
2818
2818
background-image: image-set(url(/webpack/public/path/img1x.png) 1x, \\"/webpack/public/path/img2x.png\\" 2x);
2819
2819
}
@@ -2825,8 +2825,8 @@ a {
2825
2825
background: url(\\"/webpack/public/path/img'''img.png\\");
2826
2826
background: url(\\"/webpack/public/path/img(img.png\\");
2827
2827
background: url(\\"/webpack/public/path/img)img.png\\");
2828
- background: url(\\"/webpack/public/path/img img .png\\");
2829
- background: url(\\"/webpack/public/path/img'() img .png\\");
2828
+ background: url(\\"/webpack/public/path/img%20img .png\\");
2829
+ background: url(\\"/webpack/public/path/img'()%20img .png\\");
2830
2830
2831
2831
background-image: image-set(
2832
2832
/* Not allowed on windows */
@@ -2835,19 +2835,19 @@ a {
2835
2835
url(\\"/webpack/public/path/img'img.png\\") 3x,
2836
2836
url(\\"/webpack/public/path/img(img.png\\") 4x,
2837
2837
url(\\"/webpack/public/path/img)img.png\\") 5x,
2838
- url(\\"/webpack/public/path/img img .png\\") 6x,
2839
- url(\\"/webpack/public/path/img'() img .png\\") 7x
2838
+ url(\\"/webpack/public/path/img%20img .png\\") 6x,
2839
+ url(\\"/webpack/public/path/img'()%20img .png\\") 7x
2840
2840
);
2841
2841
}
2842
2842
2843
2843
.class-class-class {
2844
2844
background: url(\\"/webpack/public/path/img'''img.png\\");
2845
- background: url(\\"/webpack/public/path/img'() img .png\\");
2845
+ background: url(\\"/webpack/public/path/img'()%20img .png\\");
2846
2846
background: url(\\"/webpack/public/path/img'img.png\\");
2847
2847
background: url(\\"/webpack/public/path/img(img.png\\");
2848
2848
background: url(\\"/webpack/public/path/img)img.png\\");
2849
- background: url(\\"/webpack/public/path/img img .png\\");
2850
- background: url(\\"/webpack/public/path/img img .png\\");
2849
+ background: url(\\"/webpack/public/path/img%20img .png\\");
2850
+ background: url(\\"/webpack/public/path/img%20img .png\\");
2851
2851
}
2852
2852
2853
2853
/* Comment */
@@ -2861,17 +2861,17 @@ a {
2861
2861
2862
2862
.other-test-case {
2863
2863
background: url(\\"/webpack/public/path/img'''img.png\\");
2864
- background: url(\\"/webpack/public/path/img'() img .png\\");
2864
+ background: url(\\"/webpack/public/path/img'()%20img .png\\");
2865
2865
background: url(\\"/webpack/public/path/img'img.png\\");
2866
2866
background: url(\\"/webpack/public/path/img(img.png\\");
2867
2867
background: url(\\"/webpack/public/path/img)img.png\\");
2868
- background: url(\\"/webpack/public/path/img img .png\\");
2868
+ background: url(\\"/webpack/public/path/img%20img .png\\");
2869
2869
background: url(\\"/webpack/public/path/img'''img.png\\");
2870
- background: url(\\"/webpack/public/path/img'() img .png\\");
2870
+ background: url(\\"/webpack/public/path/img'()%20img .png\\");
2871
2871
background: url(\\"/webpack/public/path/img'img.png\\");
2872
2872
background: url(\\"/webpack/public/path/img(img.png\\");
2873
2873
background: url(\\"/webpack/public/path/img)img.png\\");
2874
- background: url(\\"/webpack/public/path/img img .png\\");
2874
+ background: url(\\"/webpack/public/path/img%20img .png\\");
2875
2875
}
2876
2876
2877
2877
.qqq {
@@ -2880,16 +2880,16 @@ a {
2880
2880
2881
2881
.www {
2882
2882
background: url(\\"/webpack/public/path/img'''img.png\\");
2883
- background: url(\\"/webpack/public/path/img'() img .png\\");
2883
+ background: url(\\"/webpack/public/path/img'()%20img .png\\");
2884
2884
background: url(\\"/webpack/public/path/img'img.png\\");
2885
2885
background: url(\\"/webpack/public/path/img(img.png\\");
2886
2886
background: url(\\"/webpack/public/path/img)img.png\\");
2887
- background: url(\\"/webpack/public/path/img img .png\\");
2887
+ background: url(\\"/webpack/public/path/img%20img .png\\");
2888
2888
background: url(/webpack/public/path/img.png);
2889
2889
background: url(/webpack/public/path/img.png);
2890
2890
background: url(\\"/webpack/public/path/img'img.png\\");
2891
- background: url(\\"/webpack/public/path/img'() img .png\\");
2892
- background: url(\\"/webpack/public/path/img'() img .png\\");
2891
+ background: url(\\"/webpack/public/path/img'()%20img .png\\");
2892
+ background: url(\\"/webpack/public/path/img'()%20img .png\\");
2893
2893
}
2894
2894
2895
2895
.class {
@@ -2977,7 +2977,73 @@ exports[`"url" option should work with mini-css-extract-plugin: module 1`] = `
2977
2977
export {};"
2978
2978
`;
2979
2979
2980
- exports[`"url" option should work with mini-css-extract-plugin: warnings 1`] = `Array []`;
2980
+ exports[`"url" option should work with mini-css-extract-plugin: warnings 1`] = `
2981
+ Array [
2982
+ "ModuleWarning: Module Warning (from \`replaced original path\`):
2983
+ Warning
2984
+
2985
+ (120:3) Unable to find uri in 'background: green url() xyz'",
2986
+ "ModuleWarning: Module Warning (from \`replaced original path\`):
2987
+ Warning
2988
+
2989
+ (124:3) Unable to find uri in 'background: green url('') xyz'",
2990
+ "ModuleWarning: Module Warning (from \`replaced original path\`):
2991
+ Warning
2992
+
2993
+ (128:3) Unable to find uri in 'background: green url(\\"\\") xyz'",
2994
+ "ModuleWarning: Module Warning (from \`replaced original path\`):
2995
+ Warning
2996
+
2997
+ (132:3) Unable to find uri in 'background: green url(' ') xyz'",
2998
+ "ModuleWarning: Module Warning (from \`replaced original path\`):
2999
+ Warning
3000
+
3001
+ (136:3) Unable to find uri in 'background: green url(
3002
+ ) xyz'",
3003
+ "ModuleWarning: Module Warning (from \`replaced original path\`):
3004
+ Warning
3005
+
3006
+ (216:3) Unable to find uri in 'background-image: -webkit-image-set('')'",
3007
+ "ModuleWarning: Module Warning (from \`replaced original path\`):
3008
+ Warning
3009
+
3010
+ (218:3) Unable to find uri in 'background-image: image-set('')'",
3011
+ "ModuleWarning: Module Warning (from \`replaced original path\`):
3012
+ Warning
3013
+
3014
+ (219:3) Unable to find uri in 'background-image: image-set(\\"\\")'",
3015
+ "ModuleWarning: Module Warning (from \`replaced original path\`):
3016
+ Warning
3017
+
3018
+ (220:3) Unable to find uri in 'background-image: image-set(\\"\\" 1x)'",
3019
+ "ModuleWarning: Module Warning (from \`replaced original path\`):
3020
+ Warning
3021
+
3022
+ (221:3) Unable to find uri in 'background-image: image-set(url())'",
3023
+ "ModuleWarning: Module Warning (from \`replaced original path\`):
3024
+ Warning
3025
+
3026
+ (222:3) Unable to find uri in 'background-image: image-set(
3027
+ url()
3028
+ )'",
3029
+ "ModuleWarning: Module Warning (from \`replaced original path\`):
3030
+ Warning
3031
+
3032
+ (225:3) Unable to find uri in 'background-image: image-set(URL())'",
3033
+ "ModuleWarning: Module Warning (from \`replaced original path\`):
3034
+ Warning
3035
+
3036
+ (226:3) Unable to find uri in 'background-image: image-set(url(''))'",
3037
+ "ModuleWarning: Module Warning (from \`replaced original path\`):
3038
+ Warning
3039
+
3040
+ (227:3) Unable to find uri in 'background-image: image-set(url(\\"\\"))'",
3041
+ "ModuleWarning: Module Warning (from \`replaced original path\`):
3042
+ Warning
3043
+
3044
+ (228:3) Unable to find uri in 'background-image: image-set(url('') 1x)'",
3045
+ ]
3046
+ `;
2981
3047
2982
3048
exports[`"url" option should work with the 'asset' type of asset modules: errors 1`] = `Array []`;
2983
3049
0 commit comments