Skip to content

Incredibly slow imports in Svelte & SvelteKit projects. #1017

@takoyaro

Description

@takoyaro

Describe the bug
The Language server is extremely slow when importing packages in both Svelte 3 projects as well as SvelteKit projects with or without Typescript enabled. Works lightning-fast in non-Svelte/SvelteKit projects.

To Reproduce
Importing any component or npm package.

Expected behavior
I'm expecting a response in milliseconds.

Screenshots
In a Svelte Project:

sveltelangserver3.mp4

In a non-Svelte project:

normalts.mp4

System (please complete the following information):

  • OS: Windows 10 v2004
  • IDE: VSCode 1.56.2
  • Plugin/Package: "Svelte for VSCode"

Metadata

Metadata

Assignees

No one assigned

    Labels

    FixedFixed in master branch. Pending production release.bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions