getDeclarationValue.cjs 392 B

123456789101112131415
  1. // NOTICE: This file is generated by Rollup. To modify it,
  2. // please instead edit the ESM counterpart and rebuild with Rollup (npm run build).
  3. 'use strict';
  4. /**
  5. * @param {import('postcss').Declaration} decl
  6. * @returns {string}
  7. */
  8. function getDeclarationValue(decl) {
  9. const raws = decl.raws;
  10. return (raws.value && raws.value.raw) || decl.value;
  11. }
  12. module.exports = getDeclarationValue;