File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ exports['default'] = function (css) {
90
90
return _postcss2 [ 'default' ] . decl ( {
91
91
value : definitions [ key ] ,
92
92
prop : key ,
93
- before : "\n " ,
93
+ raws : { before : "\n " } ,
94
94
_autoprefixerDisabled : true
95
95
} ) ;
96
96
} ) ;
@@ -108,14 +108,14 @@ exports['default'] = function (css) {
108
108
109
109
css . prepend ( _postcss2 [ 'default' ] . rule ( {
110
110
selector : ':import(' + path + ')' ,
111
- after : "\n" ,
111
+ raws : { after : "\n" } ,
112
112
nodes : imports . map ( function ( _ref2 ) {
113
113
var theirName = _ref2 . theirName ;
114
114
var importedName = _ref2 . importedName ;
115
115
return _postcss2 [ 'default' ] . decl ( {
116
116
value : theirName ,
117
117
prop : importedName ,
118
- before : "\n " ,
118
+ raws : { before : "\n " } ,
119
119
_autoprefixerDisabled : true
120
120
} ) ;
121
121
} )
@@ -126,7 +126,7 @@ exports['default'] = function (css) {
126
126
if ( exportDeclarations . length > 0 ) {
127
127
css . prepend ( _postcss2 [ 'default' ] . rule ( {
128
128
selector : ':export' ,
129
- after : "\n" ,
129
+ raws : { after : "\n" } ,
130
130
nodes : exportDeclarations
131
131
} ) ) ;
132
132
}
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ export default css => {
57
57
let exportDeclarations = Object . keys ( definitions ) . map ( key => postcss . decl ( {
58
58
value : definitions [ key ] ,
59
59
prop : key ,
60
- before : "\n " ,
60
+ raws : { before : "\n " } ,
61
61
_autoprefixerDisabled : true
62
62
} ) )
63
63
@@ -71,11 +71,11 @@ export default css => {
71
71
importAliases . forEach ( ( { path, imports} ) => {
72
72
css . prepend ( postcss . rule ( {
73
73
selector : `:import(${ path } )` ,
74
- after : "\n" ,
74
+ raws : { after : "\n" } ,
75
75
nodes : imports . map ( ( { theirName, importedName} ) => postcss . decl ( {
76
76
value : theirName ,
77
77
prop : importedName ,
78
- before : "\n " ,
78
+ raws : { before : "\n " } ,
79
79
_autoprefixerDisabled : true
80
80
} ) )
81
81
} ) )
@@ -85,7 +85,7 @@ export default css => {
85
85
if ( exportDeclarations . length > 0 ) {
86
86
css . prepend ( postcss . rule ( {
87
87
selector : `:export` ,
88
- after : "\n" ,
88
+ raws : { after : "\n" } ,
89
89
nodes : exportDeclarations
90
90
} ) )
91
91
}
You can’t perform that action at this time.
0 commit comments