classnames.macro
Advanced tools
Comparing version 1.2.0 to 1.3.0
@@ -97,2 +97,6 @@ "use strict"; | ||
return babel.types.conditionalExpression(node, babel.types.binaryExpression("+", babel.types.stringLiteral(" "), node), babel.types.stringLiteral("")); | ||
} | ||
if (babel.types.isTemplateLiteral(node)) { | ||
return babel.types.binaryExpression("+", babel.types.stringLiteral(getPrefix()), node); | ||
} // TODO: This probably does not belong here | ||
@@ -99,0 +103,0 @@ |
{ | ||
"name": "classnames.macro", | ||
"version": "1.2.0", | ||
"version": "1.3.0", | ||
"description": "Babel Macro for conditionally joining CSS class names together", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
11010
140