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

Webpack throws DeprecationWarning #330

Closed
heliokthonos opened this issue Mar 1, 2024 · 3 comments
Closed

Webpack throws DeprecationWarning #330

heliokthonos opened this issue Mar 1, 2024 · 3 comments
Labels
duplicate This issue or pull request already exists ecosystem Incompatibility with something else tailwind An issue related to Tailwind

Comments

@heliokthonos
Copy link

Environment Information:

Operating System:
  Platform: linux
  Arch: x64
  Version: #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb  9 13:32:52 UTC 2
Binaries:
  Node: 20.11.1
  npm: 10.5.0
  Yarn: 1.22.21
  pnpm: N/A
Relevant Packages:
  next: 14.1.1
  eslint-config-next: 14.1.0
  react: 18.2.0
  react-dom: 18.2.0
  typescript: 5.3.3
Next.js Config:
  output: N/A

I am using Next 14.1.1 and when I am trying to build the application the applied global styling throws an error:
[DEP_WEBPACK_MODULE_UPDATE_HASH] DeprecationWarning: Module.updateHash: Use new ChunkGraph API
Therefore when I am looking at the application in development build it looks like this:
image
And when looking at it in production build:
image

@heliokthonos heliokthonos changed the title Webpack 5 throws DeprecationWarning Webpack throws DeprecationWarning Mar 1, 2024
@vladmoroz
Copy link
Contributor

[DEP_WEBPACK_MODULE_UPDATE_HASH] DeprecationWarning: Module.updateHash: Use new ChunkGraph API

This is unrelated to Radix Themes.


As for the visual differences between dev and prod build, do you have Tailwind in that app?

@vladmoroz vladmoroz added the info needed More info is needed to triage label Mar 1, 2024
@heliokthonos
Copy link
Author

heliokthonos commented Mar 1, 2024

Yes I have tailwind installed. Though I do not use it.

@vladmoroz vladmoroz added duplicate This issue or pull request already exists ecosystem Incompatibility with something else tailwind An issue related to Tailwind and removed info needed More info is needed to triage labels Mar 1, 2024
@vladmoroz
Copy link
Contributor

This style comes from the Tailwind reset. If you intend to use it, see this comment for solution:
#109 (comment)

If not, just uninstall it.

@vladmoroz vladmoroz closed this as not planned Won't fix, can't repro, duplicate, stale Mar 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists ecosystem Incompatibility with something else tailwind An issue related to Tailwind
Projects
None yet
Development

No branches or pull requests

2 participants