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

No dead-code elimination console error on live site #3479

Open
Gazook89 opened this issue May 17, 2024 · 0 comments
Open

No dead-code elimination console error on live site #3479

Gazook89 opened this issue May 17, 2024 · 0 comments
Labels
bug We say this works but it doesn't

Comments

@Gazook89
Copy link
Collaborator

Renderer

Both

Browser

Chrome

Operating System

MacOS

What happened?

The production site drops an error in the console about no dead-code elimination:

installHook.js:1 Uncaught Error: React is running in production mode, but dead code elimination has not been applied. Read how to correctly configure React for production: https://react.dev/link/perf-use-production-build
    at installHook.js:1:3342

I kind of assume this is a Vitreum issue. Possibly relevant react docs: https://legacy.reactjs.org/docs/optimizing-performance.html#browserify

Code

No response

@5e-Cleric 5e-Cleric added the bug We say this works but it doesn't label May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug We say this works but it doesn't
Projects
None yet
Development

No branches or pull requests

2 participants