(vite) Unexpected token export from "react-square-web-payments-sdk" package #8061
Unanswered
BryceBlankinship
asked this question in
Q&A
Replies: 2 comments 2 replies
-
same error with @radix-ui/theme
|
Beta Was this translation helpful? Give feedback.
2 replies
-
Suggestion by @nguyenduchuyz190, adding |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Here is the full error:
I have "type: module" enabled in my package.json, and have used this package without vite and it works fine. This is how they are exporting the component within the package:
export { Ach, Ach as default }; //# sourceMappingURL=ach.es.js.map
Any ideas?
Beta Was this translation helpful? Give feedback.
All reactions