Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add support for async injectStyle #1193

Merged
merged 3 commits into from
Sep 17, 2024
Merged

Conversation

arielweinberger
Copy link
Contributor

@arielweinberger arielweinberger commented Sep 6, 2024

This PR adds support for an asynchronous injectStyle function.

It also fixes #1194

We faced an issue where we needed to run custom PostCSS processing in the injectStyle function, and certain PostCSS plugins only work in async mode.

Would appreciate a merge, so we can move back to using the tsup rather than a fork :)

Copy link

codesandbox bot commented Sep 6, 2024

Review or Edit in CodeSandbox

Open the branch in Web EditorVS CodeInsiders

Open Preview

Copy link

vercel bot commented Sep 6, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
tsup ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 6, 2024 2:15pm

@ocavue ocavue merged commit f25a9db into egoist:dev Sep 17, 2024
8 checks passed
egoist pushed a commit that referenced this pull request Sep 17, 2024
Copy link
Contributor

🎉 This PR is included in version 8.3.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

injectStyle function with dts: true results in DataCloneError
2 participants