Closed rhscjohn-dev closed 2 years ago
I also get this error message using the player - I use @vime/react:
The above dynamic import cannot be analyzed by vite.
The problem seems to be in Stencil.js. Any package that uses Stencil.js to build their web components is going to have this problem. I have my doubts that Stencil will fix this problem. It seems everybody is going to Lit for web component builds. The author of this package is going to have to rewrite his web components in something other than Stencil. For myself, I went with video.js for my video player.
I get a vite warning every time I run SvelteKit - dev. It seems not to introduce operational errors in Vime but I only starting to use the player. The basic HTML example seems to be working fine.
Console output.
package.json
html.svelte