FAQ: How do I enable polyfills for legacy browsers?

By default, Stencil does not work on IE11, Edge 18 and below (Edge before it moved to Chromium) and Safari 10. In order to support legacy browsers, the browsers would need to download and run polyfills. Polyfills help to enable modern features on legacy browsers that otherwise wouldn’t support them. Stencil provides a collection of polyfills that can be configured with the extras config in the stencil.config.ts file. For details on how to use the extras config, check out the extras documentation.