boolean | ConsoleType[]
false
Whether to remove console.xx
in production build.
When removeConsole
is set to true
, all types of console.xx
are removed:
You can also specify to remove only certain types of console.xx
, such as console.log
and console.warn
:
The following types of console are currently supported: