Skip to content

Update detect-libc for better compatibility#923

Merged
devongovett merged 1 commit intoparcel-bundler:masterfrom
nicksrandall:detect-libc
Mar 5, 2025
Merged

Update detect-libc for better compatibility#923
devongovett merged 1 commit intoparcel-bundler:masterfrom
nicksrandall:detect-libc

Conversation

@nicksrandall
Copy link
Copy Markdown
Contributor

This updates the detect-libc library to latest version for better compatibility. My specific issue was that this version is not compatible with the bun runtime.

@devongovett devongovett merged commit c35a5fc into parcel-bundler:master Mar 5, 2025
3 checks passed
joshuadavidthomas pushed a commit to joshuadavidthomas/lightningcss that referenced this pull request Mar 10, 2025
joshuadavidthomas pushed a commit to joshuadavidthomas/lightningcss that referenced this pull request Mar 10, 2025
BhanuTabeti added a commit to BhanuTabeti/redd that referenced this pull request Oct 6, 2025
The root cause of the build failure was a bug in older versions of lightningcss where its 'detect-libc' utility failed to correctly identify musl-based Linux environments (like Cloudflare Pages and Alpine).

As detailed in parcel-bundler/lightningcss#923, this was fixed in version 1.29.2 and later.

This commit:
- Upgrades lightningcss to v1.30.1
- Removes the (incorrect) optional dependency override, as the library can now correctly auto-detect the environment.

This should permanently resolve the native binary issue.
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