Closed dtl closed 6 months ago
A node does not always have a first child. As an example, empty <styles> in a Svelte components throw an error because first child attributes are accessed directly even if the first child is undefined (or null).
<styles>
This may also fix #40
A node does not always have a first child. As an example, empty
<styles>
in a Svelte components throw an error because first child attributes are accessed directly even if the first child is undefined (or null).This may also fix #40