projects
/
dotfiles
/
.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
2018a157b6ef7df738a6e9b82815bf648d45563b
[dotfiles/.git]
/
rawNodeString.js
1
/* @flow */
2
"use strict";
3
4
/**
5
* Stringify PostCSS node including its raw "before" string.
6
*/
7
module.exports = function(node /*: Object*/) /*: string*/ {
8
let result = "";
9
if (node.raws.before) {
10
result += node.raws.before;
11
}
12
result += node.toString();
13
return result;
14
};