Next.js Discord

Discord Forum

Does `browserlist` automatically install polyfill?

Unanswered
Tawny-shouldered Blackbird posted this in #help-forum
Open in Discord
Tawny-shouldered BlackbirdOP
I want to support older browsers than the ones Next.js supports by default (https://nextjs.org/docs/architecture/supported-browsers).

Is adding browserlist to package.json enough, or do I have to add the necessary polyfills manually? Any tip about supporting very old browsers is appreciated.

1 Reply

Yakutian Laika
I'm also interested in this topic on how next.js handles browserlist configuration from package.json file

In my case I want to use more up to date browser versions but I don't see the config works because I still get a warning about using plyfills for modern browsers