We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5c88a38 + bcd8390 commit 63af03dCopy full SHA for 63af03d
packages/next/src/server/lib/start-server.ts
@@ -1,6 +1,9 @@
1
-if (performance.getEntriesByName('next-start').length === 0) {
2
- performance.mark('next-start')
+if(performance.getEntriesByName !== undefined) {
+ if (performance.getEntriesByName('next-start').length === 0) {
3
+ performance.mark('next-start')
4
+ }
5
}
6
+
7
import '../next'
8
import '../require-hook'
9
0 commit comments