Skip to content

Commit 3e41a08

Browse files
committed
chore: added comment about hook deletion
1 parent c712906 commit 3e41a08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/runtime/src/templates/requireHooks.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ const resolveRequireHooks = () => {
8989
const resolvedPath = require.resolve(path, opts)
9090
mode.set(hook, resolvedPath)
9191
} catch {
92-
// ignore
92+
// module not present (older version of Next.js)
9393
mode.delete(hook)
9494
}
9595
})

0 commit comments

Comments
 (0)