Replies: 1 comment 3 replies
-
|
Those in the link are loaded with the In this other polyfill, https://github.com/vercel/next.js/blob/v16.0.2-canary.7/packages/next-polyfill-module/src/index.js there's a couple that could be dropped though |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Goals
Next.js 16 default supported browsers are Chrome 111+, Edge 111+, Firefox 111+, Safari 16.4+
(https://github.com/vercel/next.js/blob/v16.0.2-canary.7/packages/next/src/shared/lib/modern-browserslist-target.js)
Next.js 16 also packs some polyfills: https://github.com/vercel/next.js/blob/v16.0.2-canary.7/packages/next-polyfill-nomodule/src/index.js
Most of those polyfills can be removed, examples:
Proposal
Next.js polyfills should be on par with Next.js supported browsers
If a user wants to support older browsers then he has to provide those polyfills
Beta Was this translation helpful? Give feedback.
All reactions