Open fenilli opened 10 months ago
It seems it's a problem specifically on Astro, because the same code works fine on Nuxt
It seems it's a problem specifically on Astro, because the same code works fine on Nuxt
I have the same problem with SvelteKit.
Edit: It makes sense that this is related to the bundler configuration. Maybe this can help: https://github.com/developit/microbundle/issues/795
I forked and tried following the instructions here and it seems to work for this scenario. I don't really have experience with bundlers so I don't know if this breaks other scenarios. See the package.json changes .
I'm also having the same problem (sveltekit)
import { formatCreditCard, unformatCreditCard } from 'cleave-zen'