React is running in production mode, but dead code elimination has not been applied
Opened this issue · 0 comments
abiriadev commented
Describe the bug
Seia shows the following log on the browser:
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 hook.js:167:17
To Reproduce
Steps to reproduce the behavior:
- build a new seia app
- start the SSR server
- open the browser
- open the devtool console
Expected behavior
Seia should follow React's guide for production build.