---
title: polyfill
configName: output.polyfill
---

# output.polyfill

- **Type:** `'entry' | 'usage' | 'ua' | 'off'`
- **Default:** `'entry'`

Via `output.polyfill` you can configure how the polyfill is injected.

import OutputPolyfillExtend from '@site-docs-en/components/output-polyfill-extend';

<OutputPolyfillExtend />

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

<RsbuildConig />
