Skip to content

Commit 732b253

Browse files
committed
Merge pull request #27 from borodean/master
Use common PostCSS plugin API
2 parents 69fe8c1 + 8c16c70 commit 732b253

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

index.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ var moduleDirectories = [
2525
* Expose the plugin.
2626
*/
2727
module.exports = AtImport
28+
module.exports.postcss = function(styles) {
29+
return module.exports()(styles)
30+
}
2831

2932
/**
3033
* Inline `@import`ed files

0 commit comments

Comments
 (0)