Skip to content

fix(migrate): add the index module import only if the file exists - #1395

Merged
dummdidumm merged 14 commits into
sveltejs:mainfrom
sacrosanctic:lib-alias-index
Oct 5, 2026
Merged

dummdidumm merged 14 commits into
sveltejs:mainfrom
sacrosanctic:lib-alias-index

Conversation

@sacrosanctic

@sacrosanctic sacrosanctic commented Oct 3, 2026 •

Copy link
Copy Markdown
Contributor

Closes #
Related to #1392 and #1411

Description

I wrote it, not sure if we should do it.

Checklist

  • Update snapshots (if applicable)
  • Add a changeset (if applicable)
  • Allow maintainers to edit this PR
  • I care about what I'm doing, no matter the tool I use (Notepad, Sublime, VSCode, AI...)

@pkg-svelte-dev

pkg-svelte-dev Bot commented Oct 3, 2026 •

Copy link
Copy Markdown

Install the latest version of sv from 60b61dc:

pnx https://pkg.svelte.dev/sv/c/60b61dc415536a3b7888b5646d239a1da36c843b create

Open in pkg.svelte.dev: https://pkg.svelte.dev/repos/cli/pr/1395

Note

This PR is from a fork. A maintainer must approve approve each commit before it can be built and installed.

@changeset-bot

changeset-bot Bot commented Oct 3, 2026 •

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 60b61dc

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
sv Patch
@sveltejs/sv-utils Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@sacrosanctic sacrosanctic changed the title fix(migrate): only add the index module import if it exists fix(migrate): add the index module import only if the file exists Oct 3, 2026
Closes #

### Description

I wrote it, not sure if we should do it.

### Checklist

- Update [snapshots](../CONTRIBUTING.md#update-snapshots) (if applicable)
- Add a [changeset](../CONTRIBUTING.md#generating-changelogs) (if applicable)
- Allow maintainers to edit this PR
- I care about what I'm doing, no matter the tool I use (Notepad, Sublime, VSCode, AI...)
@sacrosanctic
sacrosanctic marked this pull request as ready for review October 4, 2026 12:52
@dummdidumm
dummdidumm merged commit e8aec04 into sveltejs:main Oct 5, 2026
7 of 8 checks passed
@github-actions github-actions Bot mentioned this pull request Oct 5, 2026
@sacrosanctic
sacrosanctic deleted the lib-alias-index branch October 9, 2026 01:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants