Skip to content

Conversation

@jonaskohl
Copy link
Contributor

Currently, the function passed via transform option cannot be async, as that results in the CSS file only containing [object Promise]. This simple fix allows this function to return a promise. This is useful when combined with tools such as PostCSS, which return a promise.

@jleeson jleeson merged commit c235e15 into jleeson:master Apr 15, 2025
3 checks passed
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