Turbopack and Tailwind hangs on large codebases #78407
Labels
linear: turbopack
Confirmed issue that is tracked by the Turbopack team.
Turbopack
Related to Turbopack with Next.js.
Link to the code that reproduces this issue
https://github.com/hamidrezahanafi/turbopack-tw-large-codebase
To Reproduce
Current vs. Expected behavior
Current: Application hangs on compiling
Expected: It should compile and show the page
Provide environment information
Operating System: Platform: darwin Arch: arm64 Version: Darwin Kernel Version 24.3.0: Thu Jan 2 20:24:22 PST 2025; root:xnu-11215.81.4~3/RELEASE_ARM64_T6041 Available memory (MB): 49152 Available CPU cores: 14 Binaries: Node: 22.14.0 npm: 10.9.2 Yarn: 4.9.1 pnpm: N/A Relevant Packages: next: 15.3.0 eslint-config-next: N/A react: 19.1.0 react-dom: 19.1.0 typescript: 5.3.3 Next.js Config: output: N/A
Which area(s) are affected? (Select all that apply)
Turbopack
Which stage(s) are affected? (Select all that apply)
next dev (local)
Additional context
This is related to tailwind/postcss plugin based on my investigation and I created this 40000 files codebase and it seems like this code on tailwind postcss plugin is registering all the files and it hangs when it pass certain number or size of files
The text was updated successfully, but these errors were encountered: