File tree Expand file tree Collapse file tree 3 files changed +29
-1
lines changed Expand file tree Collapse file tree 3 files changed +29
-1
lines changed Original file line number Diff line number Diff line change @@ -185,7 +185,7 @@ module.exports = function(css){
185
185
function atimport ( ) {
186
186
var m = match ( / ^ @ i m p o r t * ( [ ^ ; \n ] + ) ; \s * / ) ;
187
187
if ( ! m ) return ;
188
- return { import : m [ 1 ] } ;
188
+ return { import : m [ 1 ] . trim ( ) } ;
189
189
}
190
190
191
191
/**
Original file line number Diff line number Diff line change
1
+
2
+ @import url ("fineprint.css" ) print;
3
+ @import url ("bluish.css" ) projection, tv;
4
+ @import 'custom.css' ;
5
+ @import "common.css" screen, projection ;
6
+
7
+ @import url ('landscape.css' ) screen and (orientation : landscape);
Original file line number Diff line number Diff line change
1
+ {
2
+ "stylesheet" : {
3
+ "rules" : [
4
+ {
5
+ "import" : " url(\" fineprint.css\" ) print"
6
+ },
7
+ {
8
+ "import" : " url(\" bluish.css\" ) projection, tv"
9
+ },
10
+ {
11
+ "import" : " 'custom.css'"
12
+ },
13
+ {
14
+ "import" : " \" common.css\" screen, projection"
15
+ },
16
+ {
17
+ "import" : " url('landscape.css') screen and (orientation:landscape)"
18
+ }
19
+ ]
20
+ }
21
+ }
You can’t perform that action at this time.
0 commit comments