How do I detect whether a script was loaded from +page.server.js
or +page.svelte
?
Is there a (Svelte) function that I can import to see the difference?
How do I detect whether a script was loaded from +page.server.js
or +page.svelte
?
Is there a (Svelte) function that I can import to see the difference?