({ event, resolve })
| 7 | |
| 8 | /** @type {import('@sveltejs/kit').Handle} */ |
| 9 | export 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 | } |