You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixes#1149
This PR does a few things:
- Fixes an error loading the Yarn PnP API on Windows
- Fixes a case-sensitivity issue on Windows when using Yarn PnP. Yarn's
PnP lookups are case-sensitive down to the drive-letter. The VSCode
extension host generally operates with lowercase drive letters but
filesystem calls don't return that breaking Yarn's resolution.
- Fixes an issue loading Tailwind CSS when Yarn PnP is enabled. We now
have to use `require(…)` because that's what's hooked at runtime. It
does not work with `await import(…)` unfortunately. I plan to
investigate this more to see if I can change this back in the future. We
really should not ever load the CJS version of v4.
There are most certainly some other problems using Yarn PnP with older
Tailwind CSS versions and IntelliSense right now but I plan to address
these in a followup PR later.
Here's the output panel from a project loaded through Yarn PnP on
Windows:
<img width="1227" alt="Screenshot 2025-01-29 at 11 33 56"
src="https://github.com/user-attachments/assets/3944f907-f74d-4b87-be71-4517ae407cc5"
/>
0 commit comments