mirror of
https://gh.wpcy.net/https://github.com/djav1985/v-wordpress-plugin-updater.git
synced 2026-04-29 10:00:49 +08:00
9 lines
210 B
JavaScript
9 lines
210 B
JavaScript
/**
|
|
* @param {import('postcss').Declaration} decl
|
|
* @returns {string}
|
|
*/
|
|
export default function getDeclarationValue(decl) {
|
|
const raws = decl.raws;
|
|
|
|
return (raws.value && raws.value.raw) || decl.value;
|
|
}
|