We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 49a399c commit 7b4fff8Copy full SHA for 7b4fff8
packages/runtime/src/helpers/edge.ts
@@ -116,7 +116,8 @@ const fetch = async (url, init) => {
116
}
117
118
119
-// Latest Next uses "self" as a function-scoped global-like object, but older versions expect it to equal "globalThis"
+// Next edge runtime uses "self" as a function-scoped global-like object, but some of the older polyfills expect it to equal globalThis
120
+// See https://nextjs.org/docs/basic-features/supported-browsers-features#polyfills
121
const self = { ...globalThis, fetch }
122
123
`
0 commit comments