Skip to content

Commit e7d6660

Browse files
author
Chris McVittie
committed
auto prefix null support
1 parent 67cca09 commit e7d6660

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/styles/auto-prefix.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ module.exports = {
2626
},
2727

2828
all(styles) {
29+
if (!styles)
30+
return {};
2931
return this.getPrefixer().prefix(styles);
3032
},
3133

0 commit comments

Comments
 (0)