Skip to content

fix: Fix build issues for release #8613

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

Merged
merged 2 commits into from
Jul 23, 2025
Merged

fix: Fix build issues for release #8613

merged 2 commits into from
Jul 23, 2025

Conversation

devongovett
Copy link
Member

Two issues:

  1. There were two files with the same name but different case being generated in the build (fonts.mjs due to css modules producing a JS file, and Fonts.mjs the component). Because macOS has a case-insensitive file system these overwrote each other. Renamed the CSS file to something else so that doesn't happen.
  2. I thought Next.js would ignore the "use client" in S2 since it is not at the top, but it actually errors in that case. So we have to actually remove it from the build for now. Added a script to do that.

@rspbot
Copy link

rspbot commented Jul 23, 2025

@devongovett devongovett merged commit 89a1062 into main Jul 23, 2025
31 checks passed
@devongovett devongovett deleted the fix-build branch July 23, 2025 00:10
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.

4 participants