Skip to content

Update to Svelte 5 - #3144

Merged
RobbieTheWagner merged 12 commits into
mainfrom
svelte-5-building
Nov 7, 2025
Merged

Update to Svelte 5#3144
RobbieTheWagner merged 12 commits into
mainfrom
svelte-5-building

Conversation

@RobbieTheWagner

@RobbieTheWagnerRobbieTheWagner commented Mar 6, 2025

Copy link
Copy Markdown
Member

In an effort to reduce complexity we will just be shipping ESM going forward. A lot of libraries have chosen this path and we believe it is the correct way to go.

@vercel

vercelBot commented Mar 6, 2025

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

ProjectDeploymentPreviewCommentsUpdated (UTC)
shepherd-docsReadyReadyPreviewCommentNov 7, 2025 0:42am
shepherd-landingReadyReadyPreviewCommentNov 7, 2025 0:42am

import ShepherdElement from './components/shepherd-element.svelte';
import { type Tour } from './tour.ts';
import type { ComputePositionConfig } from '@floating-ui/dom';
import { createClassComponent } from 'svelte/legacy';

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Rich-Harris is there a way to do this without the legacy stuff? We need to get a reference to an element, which does not seem to be possible in Svelte 5 unless the parent is also a Svelte component.

@RobbieTheWagner
RobbieTheWagner merged commit e776198 into mainNov 7, 2025
7 checks passed
@RobbieTheWagner
RobbieTheWagner deleted the svelte-5-building branch November 7, 2025 13:07
@github-actionsgithub-actionsBot mentioned this pull request Nov 7, 2025
@RobbieTheWagnerRobbieTheWagner changed the title Update to Svelte 5, convert to ESM onlyUpdate to Svelte 5Feb 8, 2026
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@RobbieTheWagner