fela-monolithic
Advanced tools
Comparing version
@@ -64,3 +64,3 @@ | ||
var localRulePrefix = renderer.prettySelectors && rule.name ? rule.name + '_' : ''; | ||
var localRulePrefix = renderer.prettySelectors && (rule.ruleName || rule.name) ? (rule.ruleName || rule.name) + '_' : ''; | ||
@@ -67,0 +67,0 @@ var className = generateMonolithicClassName(style, (renderer.selectorPrefix || '') + (rule.selectorPrefix || localRulePrefix)); |
@@ -74,3 +74,3 @@ 'use strict'; | ||
var localRulePrefix = renderer.prettySelectors && rule.name ? rule.name + '_' : ''; | ||
var localRulePrefix = renderer.prettySelectors && (rule.ruleName || rule.name) ? (rule.ruleName || rule.name) + '_' : ''; | ||
@@ -77,0 +77,0 @@ var className = (0, _felaUtils.generateMonolithicClassName)(style, (renderer.selectorPrefix || '') + (rule.selectorPrefix || localRulePrefix)); |
{ | ||
"name": "fela-monolithic", | ||
"version": "5.0.3", | ||
"version": "5.0.4", | ||
"description": "Fela enhancer for having monolithic classnames", | ||
@@ -27,7 +27,7 @@ "main": "lib/index.js", | ||
"css-in-js-utils": "^1.0.3", | ||
"fela-utils": "^5.0.3" | ||
"fela-utils": "^5.0.4" | ||
}, | ||
"devDependencies": { | ||
"fela": "^5.0.3" | ||
"fela": "^5.0.4" | ||
} | ||
} |
11289
0.68%Updated