Initial commit.

This commit is contained in:
2025-05-27 16:29:14 -07:00
commit 4f44d5edca
29 changed files with 5230 additions and 0 deletions

13
src/reportWebVitals.ts Normal file
View File

@@ -0,0 +1,13 @@
const reportWebVitals = (onPerfEntry?: () => void) => {
if (onPerfEntry && onPerfEntry instanceof Function) {
import('web-vitals').then(({ onCLS, onINP, onFCP, onLCP, onTTFB }) => {
onCLS(onPerfEntry)
onINP(onPerfEntry)
onFCP(onPerfEntry)
onLCP(onPerfEntry)
onTTFB(onPerfEntry)
})
}
}
export default reportWebVitals