Skip to content

Commit 08fe2bc

Browse files
authored
fix: Use version 4 for examples and tutorial (#8806)
* Use version 4 for examples and tutorial * Remove redundant import
1 parent 797b711 commit 08fe2bc

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

sites/svelte.dev/src/config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// REPL props
22

3-
export const svelteUrl = `https://unpkg.com/svelte@3`;
3+
export const svelteUrl = `https://unpkg.com/svelte@4`;
44
export const mapbox_setup = `window.MAPBOX_ACCESS_TOKEN = '${
55
import.meta.env.VITE_MAPBOX_ACCESS_TOKEN
66
}';`;

sites/svelte.dev/src/routes/tutorial/[slug]/+page.svelte

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66
import { mapbox_setup, svelteUrl } from '../../../config.js';
77
import TableOfContents from './TableOfContents.svelte';
88
9-
import '@sveltejs/site-kit/styles/code.css';
10-
119
export let data;
1210
1311
/** @type {import('@sveltejs/repl').default} */

0 commit comments

Comments
 (0)