We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb714ac commit 5056363Copy full SHA for 5056363
src/lib/formatCSS.js
@@ -11,5 +11,7 @@ function indentRecursive(node, indent = 0) {
11
12
export default function formatNodes(root) {
13
indentRecursive(root)
14
- root.first.raws.before = ''
+ if (root.first) {
15
+ root.first.raws.before = ''
16
+ }
17
}
0 commit comments