rsnext/errors/no-unwanted-polyfillio.mdx
Delba de Oliveira 44d1a1cb15
docs: Migrate error messages to MDX and App Router. (#52038)
This PR is part of a larger effort to migrate error messages to MDX and
use App Router: https://github.com/vercel/front/pull/23459
2023-07-05 06:11:16 -07:00

17 lines
624 B
Text

---
title: No Unwanted Polyfill.io
---
> Prevent duplicate polyfills from Polyfill.io.
## Why This Error Occurred
You are using polyfills from Polyfill.io and including polyfills already shipped with Next.js. This unnecessarily increases page weight which can affect loading performance.
## Possible Ways to Fix It
Remove all duplicate polyfills. If you need to add polyfills but are not sure if Next.js already includes it, take a look at the list of [supported browsers and features](/docs/architecture/supported-browsers).
## Useful Links
- [Supported Browsers and Features](/docs/architecture/supported-browsers)