Turbopack is not picking up configurations from package.json
#67218
Labels
bug
Issue was opened via the bug report template.
linear: turbopack
Confirmed issue that is tracked by the Turbopack team.
locked
Turbopack
Related to Turbopack with Next.js.
Link to the code that reproduces this issue
https://github.com/devjiwonchoi/repro-next-turbo-config-pkg
To Reproduce
pnpm dev
TEXT CENTER
text is not centered,postcss
config from package.json is not picked up,tailwindcss
is not workingpnpm next dev
TEXT CENTER
text is centered,postcss
config from package.json is picked up,tailwindcss
is workingCurrent vs. Expected behavior
Turbopack is not picking up the
postcss
config inside thepackage.json
, resulting the tailwind to not work.The webpack-based build (
next dev
) does pick it up and works as expected.Provide environment information
Operating System: Platform: darwin Arch: arm64 Version: Darwin Kernel Version 23.5.0: Wed May 1 20:13:18 PDT 2024; root:xnu-10063.121.3~5/RELEASE_ARM64_T6030 Available memory (MB): 36864 Available CPU cores: 12 Binaries: Node: 18.17.0 npm: 9.6.7 Yarn: 1.22.19 pnpm: 8.15.4 Relevant Packages: next: 15.0.0-canary.45 // Latest available version is detected (15.0.0-canary.45). eslint-config-next: N/A react: 19.0.0-rc-6f23540c7d-20240528 react-dom: 19.0.0-rc-6f23540c7d-20240528 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
No response
The text was updated successfully, but these errors were encountered: