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

Open
devjiwonchoi opened this issue Jun 26, 2024 · 0 comments · May be fixed by #67221
Open

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

devjiwonchoi opened this issue Jun 26, 2024 · 0 comments · May be fixed by #67221
Labels
bug Issue was opened via the bug report template. linear: turbopack Confirmed issue that is tracked by the Turbopack team. Turbopack Related to Turbopack with Next.js.

Comments

@devjiwonchoi
Copy link
Contributor

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue was opened via the bug report template. linear: turbopack Confirmed issue that is tracked by the Turbopack team. Turbopack Related to Turbopack with Next.js.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants