Next.js Discord

Discord Forum

How to disable source maps in dev?

Unanswered
Spectacled bear posted this in #help-forum
Open in Discord
Spectacled bearOP
I'm currently trying to migrate to the app directory, but keep getting a "maximum call stack size exceeded" related to source map support (running locally). I'm trying to disable source maps locally, but see: Warning: Reverting webpack devtool to 'eval-source-map'. when I try to turn it off in my next.config.js.

Is there a different way I can turn off source maps? I am unable to run nextjs with the source maps turned on due to this bug.

1 Reply

Little fire ant
Bumping this I'm having the same issue