svelte-sound icon indicating copy to clipboard operation
svelte-sound copied to clipboard

HowlerJS loading issue on build

Open kimonmeier opened this issue 8 months ago • 4 comments

Dear Rajaniraiyn

Im currently using svelte-sound in my project Repo. While running the vite dev server everything works as intended without any errors. But as soon as im trying to build the project with the static or node adapter the whole thing falls apart. It looks like the howler core couldn't be correctly loaded. I created an empty project to test the behaviour. Empty Repo. Still the same issue. Do you have any idea what could be wrong?

Steps to reproduce:

  • Use svelte-sound only programmaticly
  • Build with node or static adapter
  • npm preview
  • Open the Page and look in the console

Btw. Thanks for your awesome project <3

image image

kimonmeier avatar Jun 14 '24 14:06 kimonmeier