File tree 6 files changed +604
-8
lines changed
6 files changed +604
-8
lines changed Load Diff Large diffs are not rendered by default.
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change @@ -113,3 +113,33 @@ st.css');
113
113
@import url (test.css?#hash);
114
114
@import "test.css" supports(dis play: flex);
115
115
@import "test.css" supports(dis play: flex) screen and (orientation : landscape);
116
+
117
+ /* Should be one import and two css modules */
118
+
119
+ @import url ('something.css' );
120
+ @import url ('something.css' );
121
+
122
+ /* Should be one import and two css modules */
123
+
124
+ @import url ('something.css?foo=bar' );
125
+ @import url ('something.css?foo=bar' );
126
+
127
+ /* Should be one import and two css modules */
128
+
129
+ @import url ('something.css?foo=bar#hash' );
130
+ @import url ('something.css?foo=bar#hash' );
131
+
132
+ /* Should be two import and two css modules */
133
+
134
+ @import url ('something.css?foo=bar' );
135
+ @import url ('something.css?bar=foo' );
136
+
137
+ /* Should be two import and two css modules */
138
+
139
+ @import url ('something.css?foo=bar#one' );
140
+ @import url ('something.css?foo=bar#two' );
141
+
142
+ /* Should be two import and two css modules */
143
+
144
+ @import url ('something.css?foo=1&bar=2' );
145
+ @import url ('something.css?foo=2&bar=1' );
Original file line number Diff line number Diff line change
1
+ .my-box {
2
+ color : red;
3
+ }
Original file line number Diff line number Diff line change 347
347
.qqq {
348
348
background : url ('!!../../helpers/url-loader.js?esModule=false!~package/img.png' )
349
349
}
350
+
351
+ .class {
352
+ /* Should be one import */
353
+ background : url ('./something.png' );
354
+ background : url ('./something.png' );
355
+
356
+ background : url ('./something.png?foo=bar' );
357
+ background : url ('./something.png?foo=bar' );
358
+
359
+ background : url ('./something.png?foo=bar#hash' );
360
+ background : url ('./something.png?foo=bar#hash' );
361
+
362
+ /* Should be two imports */
363
+ background : url ('./something.png?foo=bar' );
364
+ background : url ('./something.png?bar=foo' );
365
+
366
+ background : url ('./something.png?foo=bar#foo' );
367
+ background : url ('./something.png?bar=foo#bar' );
368
+
369
+ background : url ('./something.png?foo=1&bar=2' );
370
+ background : url ('./something.png?foo=2&bar=1' );
371
+ }
You can’t perform that action at this time.
0 commit comments