Next.js Discord

Discord Forum

How to run a non-minimized build?

Unanswered
Atlantic cod posted this in #help-forum
Open in Discord
Atlantic codOP
I want to run a non-minified, non-optimized build in my QA environment but for some reason everything is minified and I get errors such as this one which doesn’t help me figure out what is going on.

Even when running locally, I can see the HTML on one line compressed, even though nextjs is in "development" mode.

Uncaught Error: Minified React error #310; visit https://react.dev/errors/310 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.

0 Replies