Skip to content

Commit

Permalink
fix(*): css scope plugin regex is wrong
Browse files Browse the repository at this point in the history
  • Loading branch information
fulopdaniel committed Jan 11, 2024
1 parent 75e07ba commit d4fb743
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion postcss/scope.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ module.exports = (opts = {}) => {
}
rule.selectors = rule.selectors.map((originalSelector) =>
originalSelector
.split(/,\s*/g)
.split(/(?<!\\),\s*/g)
.map((individualSelector) =>
individualSelector === opts.selector
? individualSelector
Expand Down

0 comments on commit d4fb743

Please sign in to comment.