-
-
Notifications
You must be signed in to change notification settings - Fork 162
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
[Bug] Sveltekit throws "Syntax Error: Unexpected token 'export'" #75
Comments
Are you able to build with your workaround mentioned above? Even with that added, the build fails for me in Sveltekit. Does anyone have a fix for this? I am getting the same error mentioned above. |
yes but while it does work, the problem I faced was installing the fix upon deployment on vercel. I ended up repackaging it on npm just so I could use it on my project. unless the fix is applied by the author, there's just no way around I could think of. Feel free to use it. here |
I think you could've also used something like patch-package |
I've been getting the error below in my Sveltekit project:
The only way I could seem to make it work is by adding another entry to the package.json file for svelte:
I took some hints from one of Captain Codeman's Svelte-Signature-pad's commit here..
The text was updated successfully, but these errors were encountered: