mirror of
https://gh.wpcy.net/https://github.com/djav1985/v-wordpress-plugin-updater.git
synced 2026-04-28 08:02:16 +08:00
9 lines
224 B
JavaScript
9 lines
224 B
JavaScript
/**
|
|
* @param {import('postcss').Rule} ruleNode
|
|
* @returns {string}
|
|
*/
|
|
export default function getRuleSelector(ruleNode) {
|
|
const raws = ruleNode.raws;
|
|
|
|
return (raws.selector && raws.selector.raw) || ruleNode.selector;
|
|
}
|