mirror of
https://github.com/tailwindlabs/tailwindcss.git
synced 2025-12-08 21:36:08 +00:00
Merge pull request #858 from ky-is/fix-formatcss
Fix format for empty root nodes case
This commit is contained in:
commit
e9b4014131
@ -11,5 +11,7 @@ function indentRecursive(node, indent = 0) {
|
||||
|
||||
export default function formatNodes(root) {
|
||||
indentRecursive(root)
|
||||
root.first.raws.before = ''
|
||||
if (root.first) {
|
||||
root.first.raws.before = ''
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user