Skip to content

Commit

Permalink
Update supported-browsers.mdx (#56815)
Browse files Browse the repository at this point in the history
Fixed a typo -
docs/04-architechture/supported-browsers.mdx

Changes(s) made -
Fixed a typo for improving clarity
[includes -> include]
'your dependencies includes' -> 'your dependencies include'

Please review and merge it.
  • Loading branch information
fvaysh authored Oct 13, 2023
1 parent 329cd71 commit 14aeb49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/04-architecture/supported-browsers.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ We inject [widely used polyfills](https://github.com/vercel/next.js/blob/canary/
- [**URL**](https://developer.mozilla.org/docs/Web/API/URL) — Replacing: the [`url` package (Node.js API)](https://nodejs.org/api/url.html).
- [**Object.assign()**](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object/assign) — Replacing: `object-assign`, `object.assign`, and `core-js/object/assign`.

If any of your dependencies includes these polyfills, they’ll be eliminated automatically from the production build to avoid duplication.
If any of your dependencies include these polyfills, they’ll be eliminated automatically from the production build to avoid duplication.

In addition, to reduce bundle size, Next.js will only load these polyfills for browsers that require them. The majority of the web traffic globally will not download these polyfills.

Expand Down

0 comments on commit 14aeb49

Please sign in to comment.