first commit
This commit is contained in:
24
node_modules/stylelint/lib/utils/rawNodeString.cjs
generated
vendored
Normal file
24
node_modules/stylelint/lib/utils/rawNodeString.cjs
generated
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
// 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';
|
||||
|
||||
/**
|
||||
* Stringify PostCSS node including its raw "before" string.
|
||||
*
|
||||
* @param {import('postcss').Node} node
|
||||
*
|
||||
* @returns {string}
|
||||
*/
|
||||
function rawNodeString(node) {
|
||||
let result = '';
|
||||
|
||||
if (node.raws.before) {
|
||||
result += node.raws.before;
|
||||
}
|
||||
|
||||
result += node.toString();
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
module.exports = rawNodeString;
|
||||
Reference in New Issue
Block a user