Closed
Description
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