MyrkviM
Denoβ€’15mo agoβ€’
8 replies
Myrkvi

Using libraries from JSR in SvelteKit

Hi! I'm playing around with using SvelteKit with Deno 2, and tried to import a library from Deno's standard library to use that with SvelteKit. This, however, adds it into deno.json instead of package.json and I'm not able to import it in Svelte code. What would be needed to be able to import modules from JSR and make them work in SvelteKit?
Was this page helpful?