mirror of https://github.com/fantasticit/think.git
client: remove console when production
parent
359105f474
commit
a26da9c2b9
|
@ -34,7 +34,7 @@ const nextConfig = semi({
|
|||
ignoreBuildErrors: true,
|
||||
},
|
||||
compiler: {
|
||||
removeConsole: true,
|
||||
removeConsole: process.env.NODE_ENV === 'production',
|
||||
},
|
||||
pwa: {
|
||||
disable: process.env.NODE_ENV !== 'production',
|
||||
|
|
Loading…
Reference in New Issue