MCPcopy
hub / github.com/sveltejs/kit / handle

Function handle

packages/kit/test/apps/options/source/hooks.server.js:9–15  ·  view source on GitHub ↗
({ event, resolve })

Source from the content-addressed store, hash-verified

7
8/** @type {import('@sveltejs/kit').Handle} */
9export function handle({ event, resolve }) {
10 return resolve(event, {
11 // this allows us to check that <link rel="stylesheet"> is still added
12 // to the DOM even if they're not included by `preload`
13 preload: ({ type }) => type !== 'css'
14 });
15}

Callers

nothing calls this directly

Calls 1

resolveFunction · 0.50

Tested by

no test coverage detected