Skip to content

Conversation

ky-is
Copy link
Contributor

@ky-is ky-is commented Apr 20, 2019

It's possible for a PostCSS AST root to have no nodes (i.e. from an empty file or only @ directives), which means that root.first may be undefined. #847 creates some build errors for me with beta 5.

Not sure if there's a better way to go about this, but hopefully it's helpful. Thanks as always!

@adamwathan adamwathan merged commit e9b4014 into tailwindlabs:next Apr 20, 2019
@adamwathan
Copy link
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants