Upgraded dependencies, bumped to Node 24.
This commit is contained in:
7
pages/+onHookCall.js
Normal file
7
pages/+onHookCall.js
Normal file
@@ -0,0 +1,7 @@
|
||||
export async function onHookCall(hook, pageContext) {
|
||||
const start = Date.now();
|
||||
|
||||
await hook.call();
|
||||
|
||||
console.log(`TIME ${Date.now() - start}ms ${hook.name}-${pageContext.urlOriginal}`);
|
||||
}
|
||||
Reference in New Issue
Block a user