nathanwhit
Using libraries from JSR in SvelteKit
sveltekit uses vite for bundling, you should be able to use the deno vite plugin https://github.com/denoland/deno-vite-plugin (instructions in readme) to support deno-specific features
9 replies
Using Deno 2 for simple HMR/static site dev server with Vite
A bit hard to tell the issue without some more information about the errors and config, but you may be missing the deno vite plugin: https://github.com/denoland/deno-vite-plugin (the readme has instructions for how to set it up). That allows vite to understand deno specific features (like import maps, deno.json, npm/jsr specifiers)
4 replies
deno install not working on latest canary
The commit before the bug was introduced is ef1294e4e5beb68676ba64a6c3a44ff0a277e68a, but that's on 1.46.1 so it might be too old if you're already using 2.0 features.
The PR to fix the bug will land whenever CI finishes, and then once CI on main is done the canary with the fix will be available. It'll probably be 1-2 hours from now
34 replies