puru/try-jsdelivr
Puru 10 months ago
parent fa96bc91d9
commit dcff0c49f6

@ -1,6 +1,6 @@
// REPL props
export const svelteUrl = `https://unpkg.com/svelte@4`;
export const svelteUrl = `https://esm.sh/svelte@4`;
export const mapbox_setup = `window.MAPBOX_ACCESS_TOKEN = '${
import.meta.env.VITE_MAPBOX_ACCESS_TOKEN
}';`;

@ -80,7 +80,7 @@
$: svelteUrl =
browser && version === 'local'
? `${location.origin}/repl/local`
: `https://unpkg.com/svelte@${version}`;
: `https://esm.run/svelte@${version}`;
</script>
{#if browser}

Loading…
Cancel
Save