repo.or.cz
/
ProtonMail-WebClient.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Update all non-major dependencies
[ProtonMail-WebClient.git]
/
applications
/
calendar
/
src
/
app
/
helpers
/
metrics
/
initializePerformanceMetrics.ts
blob
6cd4a6d70a6235e7cb40a72f74640c18572ab0db
1
import { reportWebVitals } from '@proton/shared/lib/metrics/webvitals';
2
3
export const initializePerformanceMetrics = () => {
4
if (process.env.NODE_ENV !== 'production') {
5
return;
6
}
7
reportWebVitals('private');
8
};