removeConsole remove all logs frontend and apis. #78023
Unanswered
Paiman-Rasoli
asked this question in
App Router
Replies: 1 comment 1 reply
-
|
You are correct. There's no official way to remove only frontend logs. but: and then import this to your __app.tsx: so you retain logs while silencing frontend logs in production only. hope this helps, and I think you can convert this into a suggestion! |
Beta Was this translation helpful? Give feedback.
1 reply
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.
-
Hey next.js community. I want to remove logs only in frontend but not in the server part and APIs. Current next.js options will remove logs in both server and frontend. I could not find any options to only remove logs in frontend.
Beta Was this translation helpful? Give feedback.
All reactions