---
title: preconnect
configName: performance.preconnect
---

# performance.preconnect

- **Type:** `undefined | Array<string | PreconnectOption>`

```ts
interface PreconnectOption {
  href: string;
  crossorigin?: boolean;
}
```

- **Default:** `undefined`

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

<RsbuildConig />
