Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Animations don't load/run when built statically #32

Open
oskarpyke opened this issue Mar 6, 2023 · 2 comments
Open

Animations don't load/run when built statically #32

oskarpyke opened this issue Mar 6, 2023 · 2 comments

Comments

@oskarpyke
Copy link

I would post an error log, but it appears to fail silently -- both during build and at runtime. All animations / whileTap events work properly when served with hot reload (npm run dev), but stop working as soon as it's served statically using npm run build && npm run start or npx http-server. I'm using a standard rollup, svelte-spa-router setup. I'm confused, seeing as I imagine npm run dev performs the same build process as a static build, only that it's being served on-demand. Any pointers on how to debug this?

@oskarpyke
Copy link
Author

My best guess is that some rollup-plugin is interfering / something about the output format is causing errors.

@yatochka-dev
Copy link

@oskarpyke, did you manage to somehow fix this?
I'm having the same issue with astro + svelte right now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants