Closed Zettexe closed 3 years ago
I just ran into this yesterday. There's a Vite bug that causes this but the work around is to add this to your vite.config.js:
optimizeDeps: {
exclude: ['svelte-modals'],
}
Yep, seems to work just fine with that included
awesome. This is the particular issue if you're curious, but vite-plugin-svelte will hopefully automate this soon as a temporary workaround.
Describe the bug I tried using svelte-capacitor template and adding svelte-modals but the modals don't seem to work at all and without error messages
Reproduction