cf: do not remove logs in prod env
This commit is contained in:
parent
168eae946f
commit
fd3c82baaf
@ -12,7 +12,7 @@ const nextConfig: NextConfig = {
|
||||
// https://nextjs.org/docs/architecture/nextjs-compiler#remove-console
|
||||
// Remove all console.* calls in production only
|
||||
compiler: {
|
||||
removeConsole: process.env.NODE_ENV === 'production',
|
||||
// removeConsole: process.env.NODE_ENV === 'production',
|
||||
},
|
||||
|
||||
// https://github.com/vercel/next.js/discussions/50177#discussioncomment-6006702
|
||||
|
Loading…
Reference in New Issue
Block a user