Mark bundle start time on web (#3147)

* Mark bundle start time on web

* TS
This commit is contained in:
dan
2024-03-08 04:13:36 +00:00
committed by GitHub
parent 1cf49517b5
commit c8e0fa9c97
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -1,3 +1,5 @@
import '#/platform/markBundleStartTime'
import '#/platform/polyfills'
import {registerRootComponent} from 'expo'
import {doPolyfill} from '#/lib/api/api-polyfill'
+2
View File
@@ -0,0 +1,2 @@
// @ts-ignore Web-only. On RN, this is set by Metro.
window.__BUNDLE_START_TIME__ = performance.now()