mirror of https://github.com/sveltejs/svelte
parent
f2ead82a40
commit
2f5d573a9d
@ -0,0 +1,6 @@
|
|||||||
|
/** @type {import('@sveltejs/kit').Handle} */
|
||||||
|
export async function handle({ event, resolve }) {
|
||||||
|
return await resolve(event, {
|
||||||
|
preload: ({ type }) => type === 'js' || type === 'css' || type === 'font'
|
||||||
|
});
|
||||||
|
}
|
Loading…
Reference in new issue