Skip to content

Add .node and .wasm to known binary file list #17123

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
Mar 11, 2025

Conversation

philipp-spiess
Copy link
Member

@philipp-spiess philipp-spiess commented Mar 11, 2025

Closes #17092

After a lot of spelunking we found one specific reason for the very slow builds in the repro from #17092: Turns our we are needlessly scanning the binary .node extension for class names 😬. This PR adds .wasm and .node to the list of known binary extensions.

Test plan

  • Check out the repro from #17092
  • Delete the .gitignore file
  • Observe that builds are very slow (527.79s)
  • Add a pnpm override to load local versions of Oxide
  • pnpm build now completes in ~50s

@philipp-spiess philipp-spiess requested a review from a team as a code owner March 11, 2025 10:56
@RobinMalfait RobinMalfait merged commit 8bc633b into main Mar 11, 2025
5 checks passed
@RobinMalfait RobinMalfait deleted the fix/ignore-node-and-wasm branch March 11, 2025 12:05
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.

[Bug][4.0.10 - 4.0.12] Very Slow Vercel CLI builds (30mins+) with Nuxt/Vite project using Tailwind >= 4.0.10
2 participants