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

fix: await postcss for async plugins #1036

Merged
merged 3 commits into from
Nov 18, 2023
Merged

fix: await postcss for async plugins #1036

merged 3 commits into from
Nov 18, 2023

Conversation

ocavue
Copy link
Collaborator

@ocavue ocavue commented Nov 17, 2023

In #983, which is not released yet, I accidentally removed the await before postcss. This causes some async PostCSS plugins to throw errors, for example, TailwindCSS.

This PR fixes the bug by adding the async back, and also adds a test case with PostCSS and TailwindCSS.

Copy link

vercel bot commented Nov 17, 2023

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 Nov 17, 2023 2:16pm

Copy link

codesandbox bot commented Nov 17, 2023

Review or Edit in CodeSandbox

Open the branch in Web EditorVS CodeInsiders

Open Preview

Copy link

New dependencies detected. Learn more about Socket for GitHub ↗︎

Packages Version New capabilities Transitives Size Publisher
autoprefixer 10.4.16 environment +3 300 kB ai
tailwindcss 3.3.5 filesystem, environment +5 8.8 MB adamwathan

@ocavue ocavue marked this pull request as ready for review November 17, 2023 14:20
@ocavue ocavue requested review from egoist and sxzz November 17, 2023 14:20
@sxzz sxzz merged commit d4e22c5 into dev Nov 18, 2023
@sxzz sxzz deleted the ocavue/fix-postcss-await branch November 18, 2023 08:36
Copy link
Contributor

🎉 This PR is included in version 8.0.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.

None yet

2 participants