Skip to content

Commit f68f038

Browse files
committed
Added fix for supports (#34).
1 parent 1afd409 commit f68f038

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

index.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -293,9 +293,8 @@ module.exports = function(css, options){
293293
var supports = m[1].trim();
294294

295295
if (!open()) return error("@supports missing '{'");
296-
comments();
297296

298-
var style = rules();
297+
var style = comments().concat(rules());
299298

300299
if (!close()) return error("@supports missing '}'");
301300

0 commit comments

Comments
 (0)