File tree 18 files changed +143
-0
lines changed
18 files changed +143
-0
lines changed Original file line number Diff line number Diff line change
1
+ @import './ae.css' ;
2
+ @import './aa.css' ;
3
+ @import './ab.css' ;
4
+ @import './ac.css' ;
5
+ @import './ad.css' ;
6
+
7
+ body {
8
+ background : red;
9
+ }
Original file line number Diff line number Diff line change
1
+ .aa {
2
+ background : green;
3
+ }
Original file line number Diff line number Diff line change
1
+ .ab {
2
+ background : green;
3
+ }
Original file line number Diff line number Diff line change
1
+ .ac {
2
+ background : green;
3
+ }
Original file line number Diff line number Diff line change
1
+ .ad {
2
+ background : green;
3
+ }
Original file line number Diff line number Diff line change
1
+ .ae {
2
+ background : green;
3
+ }
Original file line number Diff line number Diff line change
1
+ @import './ba.css' ;
2
+ @import './bb.css' ;
3
+
4
+ body {
5
+ background : yellow;
6
+ }
Original file line number Diff line number Diff line change
1
+ .ba {
2
+ background : green;
3
+ }
Original file line number Diff line number Diff line change
1
+ .bb {
2
+ background : green;
3
+ }
Original file line number Diff line number Diff line change
1
+ .ae {
2
+ background : green;
3
+ }
4
+
5
+ .aa {
6
+ background : green;
7
+ }
8
+
9
+ .ab {
10
+ background : green;
11
+ }
12
+
13
+ .ac {
14
+ background : green;
15
+ }
16
+
17
+ .ad {
18
+ background : green;
19
+ }
20
+
21
+ body {
22
+ background : red;
23
+ }
24
+
25
+ .ba {
26
+ background : green;
27
+ }
28
+
29
+ .bb {
30
+ background : green;
31
+ }
32
+
33
+ body {
34
+ background : yellow;
35
+ }
36
+
Original file line number Diff line number Diff line change
1
+ import './a.css' ;
2
+ import './b.css' ;
Original file line number Diff line number Diff line change
1
+ const Self = require ( '../../../' ) ;
2
+
3
+ module . exports = {
4
+ entry : './index.js' ,
5
+ module : {
6
+ rules : [
7
+ {
8
+ test : / \. c s s $ / ,
9
+ use : [
10
+ Self . loader ,
11
+ 'css-loader' ,
12
+ ] ,
13
+ } ,
14
+ ] ,
15
+ } ,
16
+ plugins : [
17
+ new Self ( {
18
+ filename : '[name].css' ,
19
+ } ) ,
20
+ ] ,
21
+ } ;
Original file line number Diff line number Diff line change
1
+ body { background : red; }
Original file line number Diff line number Diff line change
1
+ .b { background : red; }
2
+
3
+ @import url ("https://some/external/css" );
4
+
5
+ .b { color : yellow; }
Original file line number Diff line number Diff line change
1
+ .c { background : red; }
2
+ @import './a.css' ;
3
+ @import url ("https://some/other/external/css" );
4
+
5
+ .c { color : yellow; }
Original file line number Diff line number Diff line change
1
+ @import url (https://some/other/external/css);
2
+ @import url (https://some/external/css);
3
+ body { background : red; }
4
+
5
+ .c { background : red; }
6
+
7
+ .c { color : yellow; }
8
+
9
+ .b { background : red; }
10
+
11
+ .b { color : yellow; }
12
+
13
+
14
+
Original file line number Diff line number Diff line change
1
+ @import './c.css' ;
2
+ @import './b.css' ;
Original file line number Diff line number Diff line change
1
+ const Self = require ( '../../../' ) ;
2
+
3
+ module . exports = {
4
+ entry : './index.css' ,
5
+ module : {
6
+ rules : [
7
+ {
8
+ test : / \. c s s $ / ,
9
+ use : [
10
+ Self . loader ,
11
+ 'css-loader' ,
12
+ ] ,
13
+ } ,
14
+ ] ,
15
+ } ,
16
+ plugins : [
17
+ new Self ( {
18
+ filename : '[name].css' ,
19
+ } ) ,
20
+ ] ,
21
+ } ;
You can’t perform that action at this time.
0 commit comments