Remove polyfill script

Created on 23 May 2023, over 1 year ago
Updated 27 June 2024, 5 months ago

Problem/Motivation

When running a Lighthouse report on a site with the module enabled, some of the recommendations were:

1. Reduce the impact of third-party code - https://polyfill.io/v3/polyfill.min.js?features=fetch blocked the thread for 300ms
2. Avoid serving legacy JavaScript to modern browsers

Fetch is now supported by all modern browsers: https://caniuse.com/fetch

So I'd suggest either removing the polyfill, or making it optional.

📌 Task
Status

Fixed

Version

2.1

Component

Code

Created by

🇬🇧United Kingdom malcomio

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024