naturalcrit / homebrewery

Create authentic looking D&D homebrews using only markdown
https://homebrewery.naturalcrit.com
MIT License
1.03k stars 316 forks source link

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

Open Gazook89 opened 1 month ago

Gazook89 commented 1 month ago

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