Skip to content
This repository was archived by the owner on Mar 28, 2018. It is now read-only.

Commit 71e06e1

Browse files
committed
Update cssstats version to the ast compatible version
1 parent aaa023a commit 71e06e1

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

index.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ module.exports = postcss.plugin('cssstats', function(options, callback) {
1414
}
1515

1616
return function(css, postcssResult) {
17-
// XXX TODO: cssstats should also be able to handle an AST
18-
callback(cssstats(css.toString()));
17+
callback(cssstats(css));
1918
};
2019
});

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
},
3030
"homepage": "https://github.com/cssstats/postcss-cssstats",
3131
"dependencies": {
32-
"cssstats": "^1.5.1",
32+
"cssstats": "1.6.0",
3333
"lodash": "^3.8.0",
3434
"postcss": "^4.1.9"
3535
},

0 commit comments

Comments
 (0)