---
title: removeConsole
configName: performance.removeConsole
---

# performance.removeConsole

- **Type:** `boolean | ConsoleType[]`
- **Default:** `false`

Whether to remove `console.[methodName]` in production build.

import RsbuildConig from '@site-docs-en/components/rsbuild-config-tooltip';

<RsbuildConig />
