2022-10-26 22:28:55 +02:00
|
|
|
// @ts-check
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @type {import('next').NextConfig}
|
|
|
|
**/
|
|
|
|
const nextConfig = {
|
|
|
|
compiler: {
|
|
|
|
// Remove `console.*` output except `console.error`
|
2021-11-16 10:18:05 +01:00
|
|
|
removeConsole: {
|
|
|
|
exclude: ['error'],
|
|
|
|
},
|
|
|
|
// Uncomment this to suppress all logs.
|
|
|
|
// removeConsole: true,
|
|
|
|
},
|
|
|
|
}
|
2022-10-26 22:28:55 +02:00
|
|
|
|
|
|
|
module.exports = nextConfig
|