Files
szjs/node_modules/stylelint/lib/utils/getDeclarationValue.cjs

16 lines
392 B
JavaScript
Raw Normal View History

2025-03-07 22:27:18 +08:00
// NOTICE: This file is generated by Rollup. To modify it,
// please instead edit the ESM counterpart and rebuild with Rollup (npm run build).
'use strict';
/**
* @param {import('postcss').Declaration} decl
* @returns {string}
*/
function getDeclarationValue(decl) {
const raws = decl.raws;
return (raws.value && raws.value.raw) || decl.value;
}
module.exports = getDeclarationValue;