Skip to content

Specify paths to be ignored by svelte-migrate #390

@kristiankunc

Description

@kristiankunc

svelte-migrate currently gives the option to select paths to be migrated, but those are only first-level child directories. I'd like to be able to specify paths to explicitly ignore.

When is this useful?
I've recently came across this when trying to migrate to svelte@5 while using shadcn-svelte - a library which saves components to the src/lib/components and migrating them may not be the desired behaviour.

A good approach to avoid any clutter in the cli would be to use an optional argumen/option when running sv migrate to explicitly ignore certain paths.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions