productionServerSourceMaps #77296
jroitgrund
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Goals
https://nextjs.org/docs/pages/api-reference/config/next-config-js/productionBrowserSourceMaps needs a server-side equivalent. To me, it feels like a 'sane' default to ship server-side source-maps (server-side logs are close to useless without them) but not ship client-side source-maps. But I'd be happy with any default, as long as turning on server-side source-maps is easy and documented.
My current workaround is
which feels like it's messing with internals.
Non-Goals
No response
Background
N/A
Proposal
N/A
Beta Was this translation helpful? Give feedback.
All reactions