Skip to content

Commit 63af03d

Browse files
authored
Merge bcd8390 into 5c88a38
2 parents 5c88a38 + bcd8390 commit 63af03d

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

packages/next/src/server/lib/start-server.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
1-
if (performance.getEntriesByName('next-start').length === 0) {
2-
performance.mark('next-start')
1+
if(performance.getEntriesByName !== undefined) {
2+
if (performance.getEntriesByName('next-start').length === 0) {
3+
performance.mark('next-start')
4+
}
35
}
6+
47
import '../next'
58
import '../require-hook'
69

0 commit comments

Comments
 (0)