Skip to content

Cleanup prebundleSvelteLibraries #222

Closed
@bluwy

Description

@bluwy

Describe the problem

Fix the remaining issues for prebundleSvelteLibraries, which should be the correct way forward for Vite prebundling of Svelte libraries. Namely:

  • Automatic re-prebundle when svelte config change.
  • Allow deep importing Svelte components.
  • Allow importing libraries with a Svelte component entrypoint.
  • Make sure Vite 2.9 prebundling changes works

Some fixes may need to be in Vite core. Collecting these issue here so I don't forget, or if someone likes to tackle them.

Describe the proposed solution

Goal is to fix them by year end.

Alternatives considered

Not fix them by year end

Importance

would make my life easier

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions