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.
1 parent a3e56c9 commit bcd8390Copy full SHA for bcd8390
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 '../node-polyfill-fetch'
9
import '../require-hook'
0 commit comments