Search Docs
boolean | ConsoleType[]
false
Whether to remove console.[methodName] in production build.
console.[methodName]
The usage of this configuration item is exactly the same as that of Rsbuild. For detailed information, please refer to Rsbuild - performance.removeConsole.