Skip to content

Commit 06259ec

Browse files
committed
Fix incorrect parsing of classes with dots in them
Fixes #62
1 parent facf9f0 commit 06259ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ module.exports = source => {
159159
for (const rule of stylesheet.rules) {
160160
if (rule.type === 'rule') {
161161
for (const selector of rule.selectors) {
162-
const utility = selector.replace(/^\./, '').replace('\\/', '/');
162+
const utility = selector.replace(/^\./, '').replace('\\', '');
163163

164164
if (isUtilitySupported(utility, rule)) {
165165
styles[utility] = getStyles(rule);

0 commit comments

Comments
 (0)