For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt, and this page is available as Markdown at /api/rspeedy.output.polyfill.md.
This is the dev preview website. Check out the document at lynx-stack.dev

Home > @lynx-js/rspeedy > Output > polyfill

Output.polyfill property

Controls automatic polyfill injection. Install core-js in the application when using 'usage' or 'entry'.

Signature:

polyfill?: 'off' | 'usage' | 'entry' | undefined;

Default Value

'off'

Remarks

Lynx builds use Chrome 92 as an approximation to select polyfills. The'entry' mode also requires an explicit core-js import.

Example

output: { polyfill: 'usage' }