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

# output.polyfill

- **类型：** `'entry' | 'usage' | 'ua' | 'off'`
- **默认值：** `'entry'`

通过 `output.polyfill` 你可以配置 Polyfill 的注入方式。

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

<OutputPolyfillExtend />

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

<RsbuildConig />
