Skip to content
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

Turbopack is not picking up configurations from package.json #67218

Closed
devjiwonchoi opened this issue Jun 26, 2024 · 1 comment · Fixed by #68679
Closed

Turbopack is not picking up configurations from package.json #67218

devjiwonchoi opened this issue Jun 26, 2024 · 1 comment · Fixed by #68679
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.

Comments

@devjiwonchoi
Copy link
Member

Link to the code that reproduces this issue

https://github.com/devjiwonchoi/repro-next-turbo-config-pkg

To Reproduce

  1. Install the dependencies
  2. Run pnpm dev
  3. The TEXT CENTER text is not centered, postcss config from package.json is not picked up, tailwindcss is not working
  4. Run pnpm next dev
  5. The TEXT CENTER text is centered, postcss config from package.json is picked up, tailwindcss is working

Current vs. Expected behavior

Turbopack is not picking up the postcss config inside the package.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

@devjiwonchoi devjiwonchoi added the bug Issue was opened via the bug report template. label Jun 26, 2024
@github-actions github-actions bot added the Turbopack Related to Turbopack with Next.js. label Jun 26, 2024
@wbinnssmith wbinnssmith added the linear: turbopack Confirmed issue that is tracked by the Turbopack team. label Jun 26, 2024
Copy link
Contributor

This closed issue has been automatically locked because it had no new activity for 2 weeks. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 14, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
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.
Projects
None yet
2 participants