cf: do not remove logs in prod env
This commit is contained in:
parent
da0176ffc5
commit
ddd3ee07df
@ -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',
|
||||
},
|
||||
|
||||
images: {
|
||||
|
Loading…
Reference in New Issue
Block a user