egoist / tsup

The simplest and fastest way to bundle your TypeScript libraries.
https://tsup.egoist.dev
MIT License
8.48k stars 209 forks source link

fix: await postcss for async plugins #1036

Closed ocavue closed 7 months ago

ocavue commented 7 months ago

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.

vercel[bot] commented 7 months ago

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
codesandbox[bot] commented 7 months ago

Review or Edit in CodeSandbox

Open the branch in Web EditorVS CodeInsiders
Open Preview

socket-security[bot] commented 7 months ago

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
github-actions[bot] commented 7 months ago

:tada: This PR is included in version 8.0.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: