From d4fb743ef2acd2e791440687fb2d8ec9fe21d3f3 Mon Sep 17 00:00:00 2001 From: fulopdaniel Date: Thu, 11 Jan 2024 14:28:52 +0100 Subject: [PATCH] fix(*): css scope plugin regex is wrong --- postcss/scope.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/postcss/scope.js b/postcss/scope.js index f292b7467..3efe91a1b 100644 --- a/postcss/scope.js +++ b/postcss/scope.js @@ -22,7 +22,7 @@ module.exports = (opts = {}) => { } rule.selectors = rule.selectors.map((originalSelector) => originalSelector - .split(/,\s*/g) + .split(/(? individualSelector === opts.selector ? individualSelector