-
Notifications
You must be signed in to change notification settings - Fork 11
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
Unexpected token 'export' when importing as a module. #6
Comments
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: |
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. |
I'm also having the same problem (sveltekit) |
import { formatCreditCard, unformatCreditCard } from 'cleave-zen'
The text was updated successfully, but these errors were encountered: