UNPKG

ut-tools

Version:

Build and Release management automation package.

21 lines (16 loc) 312 B
'use strict'; /** * Stringify PostCSS node including its raw "before" string. * * @param {import('postcss').Node} node * * @returns {string} */ module.exports = function (node) { let result = ''; if (node.raws.before) { result += node.raws.before; } result += node.toString(); return result; };