Skip to content

Commit

Permalink
Add the explantion of why the polyfll is necessary
Browse files Browse the repository at this point in the history
  • Loading branch information
joykuotw committed Jun 7, 2021
1 parent e204635 commit af5c846
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,11 @@
<html>

<head>
<!-- Inline code from `node_modules/web-vitals/dist/polyfill.js` here -->
<!-- https://firebase.google.com/docs/perf-mon/get-started-web#add-first-input-delay-polyfill
https://github.com/GoogleChrome/web-vitals#load-the-library
To measure the first input delay metric, the polyfill library is needed.
The polyfill is now part of the web-vitals library,
so we inline code from `node_modules/web-vitals/dist/polyfill.js` here. -->
<script id="web-vitals"></script>

<meta http-equiv="Content-Security-Policy" content="
Expand Down

0 comments on commit af5c846

Please sign in to comment.